diff --git a/Sources/App/DeviceManager.swift b/Sources/App/DeviceManager.swift index 471546c..6aa8c9d 100644 --- a/Sources/App/DeviceManager.swift +++ b/Sources/App/DeviceManager.swift @@ -141,7 +141,7 @@ final class DeviceManager { guard let socket = connection else { return } - try? socket.close().wait() + socket.close().whenSuccess { log("Socket closed") } connection = nil log("Removed device connection") }