Performance: sprinkle 'onDestroy' everywhere to cleanup old stores; cleanup 'Stores' utility class

This commit is contained in:
Pieter Vander Vennet 2025-08-01 03:07:37 +02:00
parent 66f093afd8
commit 81be4db044
79 changed files with 332 additions and 325 deletions

View file

@ -55,6 +55,8 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
>()
public static readonly empty: ReadonlyArray<any>
public static readonly isIframe = !Utils.runningFromConsole && window !== window.top
public static initDomPurify() {
@ -1902,4 +1904,10 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
return <T>copy
}
public static pass(){
// Does nothing
}
}