mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
51cc7275f3
commit
b2d5b3abb0
@ -498,7 +498,7 @@ class ChooseLibraryAction(InterfaceAction):
|
||||
# import weakref
|
||||
# from PyQt4.Qt import QTimer
|
||||
# self.dbref = weakref.ref(self.gui.library_view.model().db)
|
||||
# self.before_mem = memory()/1024**2
|
||||
# self.before_mem = memory()
|
||||
self.gui.library_moved(loc, allow_rebuild=True)
|
||||
# QTimer.singleShot(5000, self.debug_leak)
|
||||
|
||||
@ -514,7 +514,7 @@ class ChooseLibraryAction(InterfaceAction):
|
||||
print r
|
||||
print
|
||||
print 'before:', self.before_mem
|
||||
print 'after:', memory()/1024**2
|
||||
print 'after:', memory()
|
||||
print
|
||||
self.dbref = self.before_mem = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user