1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Tiny tweaks for Linux

This commit is contained in:
Paweł Jastrzębski
2014-05-17 19:12:54 +02:00
parent cb6b0e0a7b
commit 8a2ba96ac5
3 changed files with 3 additions and 2 deletions

2
kcc.py
View File

@@ -117,7 +117,7 @@ class QApplicationMessaging(QtWidgets.QApplication):
self._server.newConnection.connect(self.handleMessage)
self._server.listen(self._key)
def __del__(self):
def shutdown(self):
if self._memory.isAttached():
self._memory.detach()
self._server.close()