fix(stream): reset stopCh after Stop for restartability
This commit is contained in:
parent
7204432ca0
commit
66ea93e3c1
@ -550,6 +550,7 @@ func (s *Server) Stop() {
|
||||
s.mu.Lock()
|
||||
s.listeners = make(map[string]net.Listener)
|
||||
s.udpServers = make(map[string]*udpServer)
|
||||
s.stopCh = make(chan struct{})
|
||||
s.mu.Unlock()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user