mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 05:11:21 +00:00
No more blocking on multiple Stop()
This commit is contained in:
@ -73,6 +73,6 @@ func TestRepeat(test *testing.T) {
|
||||
time.Sleep(delay(7))
|
||||
assert.Equal(6, c.Count())
|
||||
|
||||
// close channel to stop counter
|
||||
// extra calls to stop don't block
|
||||
t.Stop()
|
||||
}
|
||||
|
Reference in New Issue
Block a user