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 when removing nodes #48

Closed
wants to merge 1 commit into from

Conversation

matthewp
Copy link

When a node is removed it gets removed from the tree's map but not the
tree's list, so this memory is leaked.

This also fixes the assertion errors seen in #47 and
spdy-http2/node-spdy#318 and elsewhere.

When a node is removed it gets removed from the tree's `map` but not the
tree's `list`, so this memory is leaked.

This also fixes the assertion errors seen in spdy-http2#47 and
spdy-http2/node-spdy#318 and elsewhere.
matthewp added a commit to donejs/node-spdy that referenced this pull request Jun 26, 2017
matthewp added a commit to donejs/done-serve that referenced this pull request Jun 26, 2017
`spdy` has a bug that blocks donejs usage:
spdy-http2/spdy-transport#48

Until that is accepted and released we need to use this fork.
@vytautas-pranskunas-
Copy link

vytautas-pranskunas- commented Jul 22, 2018

Can this be merged in order to fix
spdy-http2/node-spdy#285
and
spdy-http2/node-spdy#318
and
#47

btw i added changes manually and assertion error stays after refreshing browser couple of times

@dnicoara-psft
Copy link

hi, any updates on the issue? for the last week i've encountered the issue countless times

@vytautas-pranskunas-
Copy link

Hi i have fixed it by running script on postinstall

https://stackoverflow.com/questions/51419039/spdy-http2-push-throws-exception-in-angular-6-ssr

@PowerSupply
Copy link

Is anything happening with this issue?

@matthewp
Copy link
Author

If anything were happening someone would have either merged it or commented on the issue. There's no need to ask.

jacobheun added a commit to jacobheun/spdy-transport that referenced this pull request Nov 2, 2018
jacobheun added a commit to jacobheun/spdy-transport that referenced this pull request Nov 2, 2018
daviddias pushed a commit that referenced this pull request Nov 8, 2018
@jacobheun
Copy link
Contributor

I pulled this into #61 which has been released in spdy-transport@3.0.0. Thanks for submitting this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants