mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:44:32 +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) {
|
if (!keepAlive) {
|
||||||
await closeListener();
|
await closeListener();
|
||||||
|
process.removeListener("SIGINT", handleSigint);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user