During shutdown, the gui attempts to update itself if a library closed plugin updates columns. This happens because the gui thinks the database is still open when the windows are being hidden.

This commit is contained in:
Charles Haley 2017-03-11 18:38:56 +01:00
parent dc55185da7
commit b9b688efc5

View File

@ -956,7 +956,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
mb.stop()
if db is not None:
db.close()
self.library_view.model().close()
try:
try: