mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Distroy VM when running into timeout (Closes: #1094)
halt results in an Traceback.
This commit is contained in:
parent
282a7724ef
commit
f8e3356365
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ def force_halt_build(timeout):
|
||||||
logging.error(_('Force halting build after {0} sec timeout!').format(timeout))
|
logging.error(_('Force halting build after {0} sec timeout!').format(timeout))
|
||||||
timeout_event.set()
|
timeout_event.set()
|
||||||
vm = vmtools.get_build_vm('builder')
|
vm = vmtools.get_build_vm('builder')
|
||||||
vm.halt()
|
vm.destroy()
|
||||||
|
|
||||||
|
|
||||||
def parse_commandline():
|
def parse_commandline():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue