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:
parent
d8860b215e
commit
d1b7c15426
@ -1 +1 @@
|
||||
ee523da36440cc52cd6cca98ea49eb859ad01526
|
||||
449c2e4ac7928f034157c23e35a723634e32f707
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user