4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-14 21:28:57 +00:00

modify TcpListener

This commit is contained in:
Arceliar
2019-09-19 19:45:17 -05:00
parent 93e81867fd
commit eeb34ce4e4
2 changed files with 11 additions and 6 deletions

View File

@ -152,7 +152,7 @@ func (m *Multicast) announce() {
for name, listener := range m.listeners {
// Prepare our stop function!
stop := func() {
listener.Stop <- true
listener.Stop()
delete(m.listeners, name)
m.log.Debugln("No longer multicasting on", name)
}