fix no wifi issue after building

This commit is contained in:
KingKDot
2026-03-26 16:25:06 -05:00
parent 9751807401
commit 62929c7bc5
3 changed files with 19 additions and 1 deletions
@@ -11,6 +11,15 @@ export function getBuildStream(id: string): BuildStream | undefined {
}
export function deleteBuildStream(id: string): boolean {
const build = activeBuildStreams.get(id);
if (build) {
build.controllers.forEach((controller) => {
try {
controller.close();
} catch {}
});
build.controllers.length = 0;
}
return activeBuildStreams.delete(id);
}