forked from cwtch.im/tapir
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 {
|
||||
connection := value.(*tapir.Connection)
|
||||
connection.Close()
|
||||
return false
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue