Vminitd: Remove unused method (#401)

This commit is contained in:
Danny Canter
2025-11-12 09:39:00 -08:00
committed by GitHub
parent 8a9b0deb82
commit a31abd73a4
-13
View File
@@ -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 {