johnny / jquery-sortable

A flexible, opinionated sorting plugin for jQuery
http://johnny.github.io/jquery-sortable/
Other
1.52k stars 441 forks source link

Memleak, not clearing containerGroups in 0.9.13 #229

Open amihaylov opened 7 years ago

amihaylov commented 7 years ago

Noticed that containerGroups are no longer destroyed and this can (and in my case did) cause memleaks. Solver is adding the one line that was present in previous versions. destroy: function () { this.traverse(function(object){ object._destroy(); }) this.rootGroup._destroy(); }