mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 12:26:38 -06:00
07c4f7b721
* [AI] fix(tlon): use waitUntilAbort to fix monitor abort-race hang Replace ad-hoc abort listener with the shared waitUntilAbort primitive, hoist pollInterval for unified finally cleanup, and add .unref() per codebase convention. The original code registered an abort listener inside a Promise constructor without checking signal.aborted first. Per the AbortSignal contract, a listener attached after abort has fired is never called, so the monitor hung without running cleanup. The fix reuses waitUntilAbort from plugin-sdk/channel-outbound, which correctly handles already-aborted, normal, and absent signals. pollInterval is hoisted and cleared in finally as a single cleanup owner. Co-Authored-By: Claude <noreply@anthropic.com> Fixes #114886 * fix(tlon): prove abort-safe Urbit monitor cleanup --------- Co-authored-by: Peter Steinberger <steipete@golden-gate.local>
Tlon (OpenClaw plugin)
Tlon/Urbit channel plugin for OpenClaw. Supports DMs, group mentions, and thread replies.