You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e304cd
Browse filesBrowse the repository at this point in the historyBrowse files
fix(shared): DrainableWorker shutdown uncounts only the dropped items
Zeroing the count on shutdown assumed the worker fiber had already exited.
Under a parallel scope the in-flight item's own decrement could then run
afterwards and leave the count at -1. Only the dropped items are uncounted
now; the running item still uncounts itself.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments