mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
fix race condition
This commit is contained in:
parent
ac6a0f7511
commit
0e27fac290
@ -72,5 +72,5 @@ func TestSameDestinationDispatching(t *testing.T) {
|
||||
cancel()
|
||||
|
||||
assert(count, Equals, uint32(1))
|
||||
assert(msgCount, Equals, uint32(6))
|
||||
assert(atomic.LoadUint32(&msgCount), Equals, uint32(6))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user