Fix an exception related to handling IPC connections.
See http://paste.the-compiler.org/view/77f58b69
This commit is contained in:
parent
8e713abadf
commit
f705194c00
@ -128,7 +128,7 @@ class IPCServer(QObject):
|
||||
log.ipc.warn("In on_ready_read with None socket!")
|
||||
return
|
||||
self._timer.start()
|
||||
while self._socket.canReadLine():
|
||||
while self._socket is not None and self._socket.canReadLine():
|
||||
data = bytes(self._socket.readLine())
|
||||
log.ipc.debug("Read from socket: {}".format(data))
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user