mirror of https://github.com/Syncplay/syncplay
parent
8116e7744b
commit
c8e260c8f6
|
@ -85,8 +85,6 @@ class WindowsSocket(threading.Thread):
|
|||
try:
|
||||
self.socket.send_bytes(json.dumps(data).encode('utf-8') + b'\n')
|
||||
except OSError as ex:
|
||||
if len(ex.args) == 1 and ex.args[0] == "handle is closed":
|
||||
raise BrokenPipeError("handle is closed")
|
||||
raise ex
|
||||
|
||||
def run(self):
|
||||
|
|
Loading…
Reference in New Issue