Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Memory Leak when removing ui-select nodes #1545

Closed
edieval opened this issue Mar 31, 2016 · 3 comments
Closed

Memory Leak when removing ui-select nodes #1545

edieval opened this issue Mar 31, 2016 · 3 comments

Comments

@edieval
Copy link

edieval commented Mar 31, 2016

Angular: 1.4.9
UI-Select: 0.16.1
Bootstrap : 3.3.5

When i remove a ui-select element from DOM, it seems to be a memory leak (see with chrome timeline after some Garbage Collect during test).

Plunker

capture d ecran de 2016-03-31 17-48-49

@edieval edieval changed the title Memory Leak when remove ui-select nodes Memory Leak when removing ui-select nodes Mar 31, 2016
@wesleycho
Copy link
Contributor

This is relevant: #1538 - I think this is fixed now in master, can you try current master by building it manually and seeing if it fixes your problem?

@edieval
Copy link
Author

edieval commented Apr 1, 2016

I've update my plunker with a current master build and it's solved the issue on JS Heap but not on Nodes.

capture2

@edieval
Copy link
Author

edieval commented Apr 1, 2016

Ok, i did a mistake in my clean function.
Now the memory leak is solved with the current master build !
capture3

Thanks wesleycho

@edieval edieval closed this as completed Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants