1
0
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:
Jochen Sprickerhof 2023-02-02 09:28:02 +01:00
parent 282a7724ef
commit f8e3356365
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

View File

@ -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():