MCPcopy
hub / github.com/webpack/webpack / finalCallback

Method finalCallback

lib/Compilation.js:3501–3510  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

3499 * @returns {void}
3500 */
3501 const finalCallback = (err) => {
3502 this.factorizeQueue.clear();
3503 this.buildQueue.clear();
3504 this.rebuildQueue.clear();
3505 this.processDependenciesQueue.clear();
3506 this.addModuleQueue.clear();
3507 // lazy barrel only acts during make; release its bookkeeping now
3508 this._lazyBarrelController.clear();
3509 return callback(err);
3510 };
3511
3512 if (this._backCompat) {
3513 for (const module of this.modules) {

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected