fix no wifi issue after building
This commit is contained in:
@@ -186,6 +186,15 @@ export async function startBuildProcess(
|
||||
logger.error("[build] Failed to send to stream:", err);
|
||||
}
|
||||
});
|
||||
|
||||
if (data.type === "complete") {
|
||||
build.controllers.forEach((controller) => {
|
||||
try {
|
||||
controller.close();
|
||||
} catch {}
|
||||
});
|
||||
build.controllers.length = 0;
|
||||
}
|
||||
};
|
||||
|
||||
let winresTempDir: string | null = null;
|
||||
|
||||
Reference in New Issue
Block a user