diff --git a/kcc.py b/kcc.py index 4f40490..ffc0fbb 100755 --- a/kcc.py +++ b/kcc.py @@ -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() diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 546ae9d..0cb8ca1 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -993,6 +993,7 @@ class KCCGUI(KCC_ui.Ui_KCC): 'GammaSlider': float(self.GammaValue)*100}) self.settings.sync() self.tray.hide() + APP.shutdown() def handleMessage(self, message): MW.raise_() diff --git a/setup.py b/setup.py index 8f8dc10..3041d8f 100755 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup( version=VERSION, author="Ciro Mattia Gonano, Pawel Jastrzebski", author_email="ciromattia@gmail.com, pawelj@iosphe.re", - description="A tool to convert comics (CBR/CBZ/PDFs/image folders) to MOBI.", + description="Kindle Comic Converter", license="ISC License (ISCL)", keywords="kindle comic mobipocket mobi cbz cbr manga", url="http://github.com/ciromattia/kcc",