Commit dbef886
Fix Channel.Designate race condition on DesignatedHeirs
Designate() wrote to the dictionary without a lock while RemoveUser()
locked it, creating a data race. Add matching lock.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 35a349b commit dbef886
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
289 | 292 | | |
290 | 293 | | |
291 | 294 | | |
| |||
0 commit comments