mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Note why we don't do a join where we should.
This commit is contained in:
parent
c8dbd70546
commit
12f75ddaf8
@ -155,10 +155,14 @@ class BooksModel(QAbstractTableModel): # {{{
|
||||
self.database_changed.emit(db)
|
||||
if self.cover_cache is not None:
|
||||
self.cover_cache.stop()
|
||||
# Would like to to a join here, but the thread might be waiting to
|
||||
# do something on the GUI thread. Deadlock.
|
||||
self.cover_cache = CoverCache(db, FunctionDispatcher(self.db.cover))
|
||||
self.cover_cache.start()
|
||||
if self.metadata_backup is not None:
|
||||
self.metadata_backup.stop()
|
||||
# Would like to to a join here, but the thread might be waiting to
|
||||
# do something on the GUI thread. Deadlock.
|
||||
self.metadata_backup = MetadataBackup(db)
|
||||
self.metadata_backup.start()
|
||||
def refresh_cover(event, ids):
|
||||
|
Loading…
x
Reference in New Issue
Block a user