mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 09:21:35 +07:00
fix(discord): remove safety error listener after teardown to prevent leak
This commit is contained in:
@@ -442,5 +442,6 @@ export async function runDiscordGatewayLifecycle(params: {
|
||||
await params.execApprovalsHandler.stop();
|
||||
}
|
||||
params.threadBindings.stop();
|
||||
gatewayEmitter?.removeListener("error", suppressLateError);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user