mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 18:23:31 +00:00
resetAllLanes() now calls drainLane() for lanes with pending queue entries after resetting generation/activeTaskIds. This prevents queued work from stalling indefinitely when no subsequent enqueueCommandInLane() call arrives after a SIGUSR1 restart. Safe because the drain happens after all lanes are fully reset (generation bumped, activeTaskIds cleared, draining=false), so concurrency invariants are preserved.