mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Miscellaneous GUI tweaks
This commit is contained in:
5
kcc.py
5
kcc.py
@@ -99,6 +99,11 @@ class QApplicationMessaging(QtWidgets.QApplication):
|
||||
self._server.newConnection.connect(self.handleMessage)
|
||||
self._server.listen(self._key)
|
||||
|
||||
def __del__(self):
|
||||
if self._memory.isAttached():
|
||||
self._memory.detach()
|
||||
self._server.close()
|
||||
|
||||
def isRunning(self):
|
||||
return self._running
|
||||
|
||||
|
||||
Reference in New Issue
Block a user