Attempt to fix mpv quit error (#571)
This commit is contained in:
parent
0c8c865def
commit
75135b253d
@ -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…
x
Reference in New Issue
Block a user