If calling the promise version of the LoadRequestedModules after the script is disabled, the promise can't be settled and the reference of ModuleLoadRequest can't be released, which causes memory leak. This fixes the leak by calling the sync version instead. Differential Revision: https://phabricator.services.mozilla.com/D320511
2 lines
32 B
JavaScript
2 lines
32 B
JavaScript
export const marker = "module";
|