Fix ipc on Windows, take 2.
This commit is contained in:
parent
87ccc31cce
commit
087e9a4266
@ -203,7 +203,8 @@ class IPCServer(QObject):
|
|||||||
def listen(self):
|
def listen(self):
|
||||||
"""Start listening on self._socketname."""
|
"""Start listening on self._socketname."""
|
||||||
log.ipc.debug("Listening as {}".format(self._socketname))
|
log.ipc.debug("Listening as {}".format(self._socketname))
|
||||||
self._atime_timer.start()
|
if self._atime_timer is not None: # pragma: no branch
|
||||||
|
self._atime_timer.start()
|
||||||
self._remove_server()
|
self._remove_server()
|
||||||
ok = self._server.listen(self._socketname)
|
ok = self._server.listen(self._socketname)
|
||||||
if not ok:
|
if not ok:
|
||||||
|
Loading…
Reference in New Issue
Block a user