chiark / gitweb /
build: hard exit on success to avoid hanging
authorHans-Christoph Steiner <hans@eds.org>
Sat, 2 Dec 2017 12:24:13 +0000 (13:24 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sat, 2 Dec 2017 12:48:47 +0000 (13:48 +0100)
commitb8ed892ad9ed7e125278bc41ce5545a9d0c57994
tree53a1b8600a6e027c445fd8534cd3089720a6225a
parent68bbfa7e0e96513a879b9862b2fda1ca0a11bceb
build: hard exit on success to avoid hanging

Something is preventing `fdroid build --all` from exiting after a long
run.  @bubu, @uniqx and I think it is because of the use of
AsynchronousFileReader, somehow it's thread does not exit. So the
workaround for now is to just try a hard exit instead of waiting for
things to finish cleanly with `sys.exit(0)`.

https://jenkins.debian.net/job/reproducible_fdroid_build_apps/94/console
fdroidserver/build.py
fdroidserver/common.py