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 memory leak in express when used with recursive timers #228

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Aug 13, 2018

This PR fixes a memory leak in express when used with recursive timers. Basically it would be possible in some cases where next() is called within an external task queue that the scope would stay active forever or become available to other requests.

The test that was removed is actually a use case that was never officially supported for a behavior that shouldn't be relied upon.

Related to #227

@rochdev rochdev added bug Something isn't working core labels Aug 13, 2018
@rochdev rochdev merged commit 7fbb7fb into master Aug 13, 2018
@rochdev rochdev deleted the fix-express-leak branch August 13, 2018 21:08
@rochdev rochdev added this to the 0.5.5 milestone Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants