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 a bug to leak non-repeating timer watchers #1864

Merged
merged 2 commits into from
Feb 27, 2018

Conversation

tagomoris
Copy link
Member

Timer plugin helpers may be used to call delayed processing with repeat: false option.
But if plugin authors call this method once per minute, @_event_loop_attached_watchers will have 60 undeleted objects per hour: that means object leakage.

This change is to fix that problem.

@tagomoris tagomoris requested a review from repeatedly February 20, 2018 11:54
@repeatedly repeatedly self-assigned this Feb 26, 2018
@repeatedly
Copy link
Member

LGTM

@repeatedly repeatedly merged commit f8428ff into master Feb 27, 2018
@ganmacs ganmacs deleted the fix-timer-watcher-leak branch July 11, 2019 08:01
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.

2 participants