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
drpcmanager: fix data race between newStream and Close on WaitGroup
Move `wg.Add(1)` inside `activeStreams.Add` under its mutex so the
increment and the closed check are atomic. This prevents `wg.Add`
racing with `wg.Wait` in `Manager.Close` when terminate closes streams
before `newStream` finishes registering.
0 commit comments