1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-27 00:54:15 +01:00

Fix: Invalidation of DOM sourced rows caused a memory leak

* The error was that the registered cells array was growing on every
  call, so the processing took longer and the memory usage went up
* See thread 21063 for details
This commit is contained in:
Allan Jardine 2014-05-16 10:12:41 +01:00
parent d8860b215e
commit d1b7c15426
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
ee523da36440cc52cd6cca98ea49eb859ad01526
449c2e4ac7928f034157c23e35a723634e32f707

View File

@ -1505,7 +1505,6 @@
d.push( contents );
}
tds.push( cell );
i++;
};
@ -1516,6 +1515,7 @@
if ( name == "TD" || name == "TH" ) {
cellProcess( td );
tds.push( td );
}
td = td.nextSibling;