Fix bug with socket
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user