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