mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-31 18:23:35 -07:00
d5528f6e56
This prevents a deadlock: 1. rehash() is executing on the main goroutine 2. it's trying to stop a listener goroutine 3. the listener goroutine needs to hand off a new connection to newConns 4. but the main goroutine is blocked by rehash() so it can't receive it
68 KiB
68 KiB