Changes between Initial Version and Version 1 of Ticket #10667, comment 3
- Timestamp:
- Jul 30, 2015, 6:49:01 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10667, comment 3
initial v1 2 2 3 3 I use Backbone for my SPA, when the view which contains the draggable element is closed, the DOM tree should be deleted. But, I can see a leak and my view appears as a detached DOM tree with some references in the JS code (jQuery UI). 4 5 Quick and dirty solution: 6 If I do a 'delete $.ui.ddmanager.current;' when the view is closed, the reference is removed and the garbage collector is able to delete the DOM nodes.