fix dispose

This commit is contained in:
Cory LaViska
2023-06-13 12:19:25 -04:00
parent 24ef154d42
commit 8c8977549c

View File

@@ -135,7 +135,7 @@ async function buildTheSource() {
// Called on SIGINT or SIGTERM to cleanup the build and child processes.
//
function handleCleanup() {
buildResults.forEach(result => result.rebuild.dispose());
buildResults.forEach(result => result.dispose());
if (childProcess) {
childProcess.kill('SIGINT');