Fix map iteration bug
This commit is contained in:
parent
27afc8d1ce
commit
368e2ba61b
|
@ -141,6 +141,6 @@ func (s *BaseOnionService) Shutdown() {
|
||||||
s.connections.Range(func(key, value interface{}) bool {
|
s.connections.Range(func(key, value interface{}) bool {
|
||||||
connection := value.(*tapir.Connection)
|
connection := value.(*tapir.Connection)
|
||||||
connection.Close()
|
connection.Close()
|
||||||
return false
|
return true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue