refactor: remove the RenderFrameFunctionStore and use privates to memory manage (#23592)

This commit is contained in:
Samuel Attard
2020-05-15 11:57:40 -07:00
committed by GitHub
parent 3cf97d5717
commit 9d7ba98209
12 changed files with 166 additions and 261 deletions

View File

@@ -40,6 +40,9 @@ declare namespace NodeJS {
createIDWeakMap<V>(): ElectronInternal.KeyWeakMap<number, V>;
createDoubleIDWeakMap<V>(): ElectronInternal.KeyWeakMap<[string, number], V>;
setRemoteCallbackFreer(fn: Function, frameId: number, contextId: String, id: number, sender: any): void
weaklyTrackValue(value: any): void;
clearWeaklyTrackedValues(): void;
getWeaklyTrackedValues(): any[];
}
interface Process {