Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 0ff65a6

Browse files
committed
fix(@angular-devkit/build-angular): add teardown logic to runModuleAsObservableFork
1 parent cb006e5 commit 0ff65a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/angular_devkit/build_angular/src/utils/run-module-as-observable-fork.ts

+3
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@ export function runModuleAsObservableFork(
7979
exportName,
8080
args,
8181
});
82+
83+
// Teardown logic. When unsubscribing, kill the forked process.
84+
return killForkedProcess;
8285
});
8386
}

0 commit comments

Comments
 (0)