fix looping errors 2

This commit is contained in:
JOLIMAITRE Matthieu 2024-02-03 23:31:41 +01:00
parent 8aac0b8bde
commit 4acf870e7b

View file

@ -60,7 +60,9 @@ export function loop_process(
const kill_sig = channel<"kill">();
kill_sig.receive().then(() => {
control.do_continue = false;
try {
control.child_process?.kill();
} catch (_) { /* isok */ }
});
async function launch() {
while (control.do_continue) {