MCPcopy
hub / github.com/webpack/webpack / _cleanupLastNormalModuleFactory

Method _cleanupLastNormalModuleFactory

lib/Compiler.js:498–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

496
497 // TODO webpack 6: solve this in a better way
498 _cleanupLastNormalModuleFactory() {
499 if (this._lastNormalModuleFactory !== undefined) {
500 this._lastNormalModuleFactory.cleanupForCache();
501 this._lastNormalModuleFactory = undefined;
502 }
503 }
504
505 /**
506 * Release fields on a finished compilation that nothing reads after emit,

Callers 1

Calls 1

cleanupForCacheMethod · 0.45

Tested by

no test coverage detected