Skip to content

pathbar: Disconnect signals when disposing to avoid crashes

Ondrej Holy requested to merge wip/oholy/pathbar-crash-fix into gnome-42

The path bar buttons are updated when the corresponding files are changed. Unfortunately, the "changed" signals are not disconnected when destroying the path bar. This can lead to crashes. Let's explicitly disconnect the signals when disposing of the buttons.

Fixes: #2192 (closed)

Edited by António Fernandes

Merge request reports