mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-30 01:06:11 +00:00
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