mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
fix(sandbox): add once option to Docker abort listener (#58277)
Merged via squash.
Prepared head SHA: 692dd15014
Reviewed-by: @sallyom
This commit is contained in:
@@ -91,7 +91,7 @@ export function execDockerRaw(
|
||||
if (signal.aborted) {
|
||||
handleAbort();
|
||||
} else {
|
||||
signal.addEventListener("abort", handleAbort);
|
||||
signal.addEventListener("abort", handleAbort, { once: true });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user