Fixed core dumped on close

This commit is contained in:
Ignacio Serantes
2026-04-01 08:48:06 +02:00
parent 2fbf04fdb8
commit ae00235db8
6 changed files with 52 additions and 8 deletions

View File

@@ -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):