mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Removed memory leak with identifierNamesGenerator: 'mangled'
This commit is contained in:
@@ -17,9 +17,9 @@ export class MangledIdentifierNamesGenerator extends AbstractIdentifierNamesGene
|
||||
private static readonly initMangledNameCharacter: string = '9';
|
||||
|
||||
/**
|
||||
* @type {Map<TNodeWithLexicalScope, string>}
|
||||
* @type {WeakMap<TNodeWithLexicalScope, string>}
|
||||
*/
|
||||
private static readonly lastMangledNameInScopeMap: Map <TNodeWithLexicalScope, string> = new Map();
|
||||
private static readonly lastMangledNameInScopeMap: WeakMap <TNodeWithLexicalScope, string> = new WeakMap();
|
||||
|
||||
/**
|
||||
* @type {string[]}
|
||||
|
||||
Reference in New Issue
Block a user