This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Possible memory leak #185
Closed
Description
Currently I'm using sortable
on vertical list, so rows can be moved up and down. And also the rows themselves have sortable
enabled so elements inside them can be moved horizontally ( nested ng-repeat
).
There are two routes in my application when the user moves from the route a
the list is destroyed. When he moves back , the list is recreated and all ng-repeats
and sortable
are recreated.
I'm using angular ui router
for navigation.
The problem is that I'm getting a lot of detached DOM nodes, destroy events by angular are being called, and I'm cleaning up everything that I've done on those ng-repeat
elements. However looking at the sortable code I don't see $destroy
functionality?