mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-14 10:54:29 -04:00
Distroy VM when running into timeout (Closes: #1094)
halt results in an Traceback.
This commit is contained in:
@@ -893,7 +893,7 @@ def force_halt_build(timeout):
|
||||
logging.error(_('Force halting build after {0} sec timeout!').format(timeout))
|
||||
timeout_event.set()
|
||||
vm = vmtools.get_build_vm('builder')
|
||||
vm.halt()
|
||||
vm.destroy()
|
||||
|
||||
|
||||
def parse_commandline():
|
||||
|
||||
Reference in New Issue
Block a user