Fixes #675
`on_treeview_changed` is triggered during `treebrowser_tree_store_iter_clear_nodes`, leading to a double-delete.
Consistent (as far as I can tell) reproduction steps: 1. Create a folder 2. Create two new files in folder 3. Delete second file You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1015
-- Commit Summary --
* TreeBrowser: Avoid double node clear
-- File Changes --
M treebrowser/src/treebrowser.c (3)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1015.patch https://github.com/geany/geany-plugins/pull/1015.diff
ping @medovina
I can reproduce this crash. Thanks for the pull request - it's a busy time but I should be able to look at this in the next day or two.
The change seems fine to me. I can confirm that it fixes the crash.
Merged #1015 into master.
github-comments@lists.geany.org