fix race condition

pull/1132/head
Darien Raymond 7 years ago
parent ac6a0f7511
commit 0e27fac290
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -72,5 +72,5 @@ func TestSameDestinationDispatching(t *testing.T) {
cancel() cancel()
assert(count, Equals, uint32(1)) assert(count, Equals, uint32(1))
assert(msgCount, Equals, uint32(6)) assert(atomic.LoadUint32(&msgCount), Equals, uint32(6))
} }

Loading…
Cancel
Save