From 1fa051bb693139d9823d710d17eff970c03d0c25 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Wed, 22 Oct 2025 11:35:18 -0700 Subject: [PATCH] VZVirtualMachineInstance: Move event loop shutdown slightly up (#342) This and the work on it should likely be gone before vm shutdown. --- Sources/Containerization/VZVirtualMachineInstance.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Containerization/VZVirtualMachineInstance.swift b/Sources/Containerization/VZVirtualMachineInstance.swift index e469f4f0..e7b43d8a 100644 --- a/Sources/Containerization/VZVirtualMachineInstance.swift +++ b/Sources/Containerization/VZVirtualMachineInstance.swift @@ -168,8 +168,8 @@ extension VZVirtualMachineInstance { try await self.timeSyncer.close() - try await self.vm.stop(queue: self.queue) try await self.group.shutdownGracefully() + try await self.vm.stop(queue: self.queue) } }