ipc: Clarify comment.
This commit is contained in:
parent
cbcd6261b1
commit
6b4b65e585
@ -191,7 +191,8 @@ class IPCServer(QObject):
|
|||||||
def on_ready_read(self):
|
def on_ready_read(self):
|
||||||
"""Read json data from the client."""
|
"""Read json data from the client."""
|
||||||
if self._socket is None:
|
if self._socket is None:
|
||||||
# this happened once and I don't know why
|
# This happens when doing a connection while another one is already
|
||||||
|
# active for some reason.
|
||||||
log.ipc.warn("In on_ready_read with None socket!")
|
log.ipc.warn("In on_ready_read with None socket!")
|
||||||
return
|
return
|
||||||
self._timer.start()
|
self._timer.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user