fix(#407): hoist sleep SharedArrayBuffer out of withPlanningLock retry loop (#418)

This commit is contained in:
Tom Boucher
2026-05-27 22:48:31 -04:00
committed by GitHub
parent 1067a0f3fd
commit ec0a32ea07
3 changed files with 205 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 407
---
`withPlanningLock` no longer allocates a fresh SharedArrayBuffer on every retry iteration — hoist the sleep buffer once before the loop (matches the #316/#399 fix for `acquireStateLock`).