mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
Distroy VM when running into timeout (Closes: #1094)
halt results in an Traceback.
This commit is contained in:
parent
282a7724ef
commit
f8e3356365
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user