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

Fix inotify GC cleanup removing the watch function #4278

Merged
merged 2 commits into from
Dec 21, 2024
Merged

Conversation

toots
Copy link
Member

@toots toots commented Dec 20, 2024

Some of the changes to optimize liquidsoap's memory footprint did remove unused methods. This might have triggered a situation where we acutally removes the watch call during a GC of the unwatch method.

Instead, we should require the user to explicitely call unwatch.

Fixes: #4275

@toots toots enabled auto-merge December 21, 2024 09:06
@toots toots disabled auto-merge December 21, 2024 09:08
@toots toots merged commit d2cc559 into main Dec 21, 2024
36 of 37 checks passed
@toots toots deleted the inotify-no-gc branch December 21, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file.watch() does not work
1 participant