Fix race condition
- the gc finalize for an object races with the janitor.Run goroutine - because the janitor.stop channel is created in the Run() goroutine this leads to a data race. - fix by creating the channel when the janitor is createdmaster
parent
7ac151875f
commit
0640633ccc
Loading…
Reference in New Issue