ipc: Fix _atime_timer shutdown on Windows.
This commit is contained in:
parent
d2bce5dca9
commit
1dba5b0bbd
@ -366,11 +366,12 @@ class IPCServer(QObject):
|
||||
self._socket.deleteLater()
|
||||
self._socket = None
|
||||
self._timer.stop()
|
||||
self._atime_timer.stop()
|
||||
try:
|
||||
self._atime_timer.timeout.disconnect(self.update_atime)
|
||||
except TypeError:
|
||||
pass
|
||||
if self._atime_timer is not None:
|
||||
self._atime_timer.stop()
|
||||
try:
|
||||
self._atime_timer.timeout.disconnect(self.update_atime)
|
||||
except TypeError:
|
||||
pass
|
||||
self._server.close()
|
||||
self._server.deleteLater()
|
||||
self._remove_server()
|
||||
|
Loading…
Reference in New Issue
Block a user