Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeBrowser: Avoid double node clear #1015

Merged
merged 1 commit into from
Jan 2, 2021

Conversation

ChrisJAllan
Copy link
Contributor

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

@elextr
Copy link
Member

elextr commented Oct 14, 2020

ping @medovina

@medovina
Copy link
Contributor

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.

@medovina
Copy link
Contributor

medovina commented Jan 2, 2021

The change seems fine to me. I can confirm that it fixes the crash.

@frlan frlan merged commit 9401dd2 into geany:master Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[treebrowser] Intermittent crashing when deleting a file
4 participants