TableTools Destroy? Memory leaks

TableTools Destroy? Memory leaks

ellipsisellipsis Posts: 23Questions: 0Answers: 0
edited November 2013 in Bug reports
On our pages we destroy the Table and I ran into some memory problems, to extend the closed thread:

I modified some code, but still wonder how I should unbind the events, please help!

Changes to TableTools.js:
Add the following directly above the "Private Methods" comment block. (starting line 567 in my copy)
"fnDestroy": function () {
var flash = ZeroClipboard_TableTools;
for (var inst in flash.clients) {
flash.clients[parseInt(inst, 10)].destroy();
delete flash.clients[parseInt(inst, 10)];
flash = null;
// remove TableTool instance
var nr_instancePos = null;
var nr_instances = TableTools._aInstances.length;
for ( var i=0 ; i


  • ellipsisellipsis Posts: 23Questions: 0Answers: 0
    One extra question, should I also be inspecting the other extensions like ColVis etc?
This discussion has been closed.