fix(sandbox): add once option to Docker abort listener (#58277) · openclaw/openclaw@7dc0041
aaronagent
·
2026-04-29
·
via Recent Commits to openclaw:main
Commit 7dc0041
fix(sandbox): add once option to Docker abort listener (#58277)
Merged via squash.
Prepared head SHA: 692dd15
Reviewed-by: @sallyom
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -91,7 +91,7 @@ export function execDockerRaw(
|
91 | 91 | if (signal.aborted) { |
92 | 92 | handleAbort(); |
93 | 93 | } else { |
94 | | -signal.addEventListener("abort", handleAbort); |
| 94 | +signal.addEventListener("abort", handleAbort, { once: true }); |
95 | 95 | } |
96 | 96 | } |
97 | 97 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)