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

timers: fix leak when interpreter shutsdown early #422

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

saghul
Copy link
Owner

@saghul saghul commented Nov 7, 2023

If something creates an unhandled rejection condition we'll end up with timers being kept alive in C without a way to recover them.

Fix it by keeping the strong reference in JS, so it all goes away when we destroy the runtime.

If something creates an unhandled rejection condition we'll end up with
timers being kept alive in C without a way to recover them.

Fix it by keeping the strong reference in JS, so it all goes away when
we destroy the runtime.
@saghul saghul merged commit 5ce349a into master Nov 7, 2023
11 checks passed
@saghul saghul deleted the fix-timer-leaks branch November 7, 2023 23:33
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.

1 participant