Skip to content

workbench: Fix crash when a monitored entry is removed #1431

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

b4n
Copy link
Member

@b4n b4n commented May 12, 2025

When a monitored file or directory is removed, we call the handler for that event directly. However, this might lead to removing our own monitoring entry, which means we must not reference it any further after having called the handler.

Fixes #1430.

When a monitored file or directory is removed, we call the handler for
that event directly.  However, this might lead to removing our own
monitoring entry, which means we must not reference it any further
after having called the handler.

Fixes geany#1430.
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.

Geany segfaulting, maybe related to logging
1 participant