From a31abd73a4d90cdbd45b7f59a71e624be00db195 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Wed, 12 Nov 2025 09:39:00 -0800 Subject: [PATCH] Vminitd: Remove unused method (#401) --- Sources/Containerization/Vminitd.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Sources/Containerization/Vminitd.swift b/Sources/Containerization/Vminitd.swift index 225f3b2b..07f32fe9 100644 --- a/Sources/Containerization/Vminitd.swift +++ b/Sources/Containerization/Vminitd.swift @@ -414,19 +414,6 @@ extension Vminitd { }) return response.result } - - /// Syncing shutdown will send a SIGTERM to all processes - /// and wait, perform a sync operation, then issue a SIGKILL - /// to the remaining processes before syncing again. - public func syncingShutdown() async throws { - _ = try await self.kill(pid: -1, signal: SIGTERM) - try await Task.sleep(for: .milliseconds(10)) - try await self.sync() - - _ = try await self.kill(pid: -1, signal: SIGKILL) - try await Task.sleep(for: .milliseconds(10)) - try await self.sync() - } } extension Hosts {