This commit is contained in:
Kovid Goyal 2025-02-06 20:43:09 +05:30
parent a9f1260021
commit 54ab4e3863
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1297,7 +1297,6 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
self.library_view.model().close()
try:
try:
if self.content_server is not None:
# If the Content server has any sockets being closed then
@ -1308,10 +1307,10 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
s = self.content_server
self.content_server = None
s.exit()
except:
pass
except KeyboardInterrupt:
pass
except Exception:
pass
self.hide_windows()
if self._spare_pool is not None:
self._spare_pool.shutdown()