Fixed core dumped on close
This commit is contained in:
@@ -143,6 +143,11 @@ class DuplicateManagerDialog(QDialog):
|
||||
self.main_win.fs_watcher.file_moved.disconnect(self._on_file_moved_externally)
|
||||
except (RuntimeError, TypeError):
|
||||
pass
|
||||
|
||||
if hasattr(self, 'left_pane') and self.left_pane:
|
||||
self.left_pane.cleanup()
|
||||
if hasattr(self, 'right_pane') and self.right_pane:
|
||||
self.right_pane.cleanup()
|
||||
super().closeEvent(event)
|
||||
|
||||
def resizeEvent(self, event):
|
||||
|
||||
Reference in New Issue
Block a user