fix(web): remove leaked SIGINT handler when keepAlive=false
This commit is contained in:
@@ -331,6 +331,7 @@ export async function monitorWebChannel(
|
||||
|
||||
if (!keepAlive) {
|
||||
await closeListener();
|
||||
process.removeListener("SIGINT", handleSigint);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user