From ce7993dc71cdee1ae6e2ed612039c5e80ccad4b2 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Mon, 28 Feb 2022 16:47:26 -0800 Subject: [PATCH] vm(qemu): fix stuck on busy when guest shuts down Fixes #3702 --- Managers/UTMQemuVirtualMachine.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Managers/UTMQemuVirtualMachine.m b/Managers/UTMQemuVirtualMachine.m index 496b489e4..e5bf982f2 100644 --- a/Managers/UTMQemuVirtualMachine.m +++ b/Managers/UTMQemuVirtualMachine.m @@ -458,6 +458,7 @@ - (void)_vmStopForce:(BOOL)force completion:(void (^)(NSError * _Nullable))compl self.system = nil; // stop logging [self.logging endLog]; + completion(nil); } - (void)vmStopForce:(BOOL)force completion:(void (^)(NSError * _Nullable))completion {