improve memory mgmt

This commit is contained in:
Rene
2022-07-12 13:12:45 +02:00
parent a4482f96d6
commit fe52903ad8
14 changed files with 987 additions and 1067 deletions
@@ -12,7 +12,7 @@ import {
removeClass,
hasClass,
push,
runEach,
runEachAndClear,
insertBefore,
attr,
keys,
@@ -250,5 +250,5 @@ export const createStructureSetupElements = (
}
};
return [evaluatedTargetObj, appendElements, runEach.bind(0, destroyFns)];
return [evaluatedTargetObj, appendElements, runEachAndClear.bind(0, destroyFns)];
};