mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Fix search behaviour on closed Conns, various other fixes
This commit is contained in:
parent
bbd1246f7b
commit
9778f5d2b8
5 changed files with 107 additions and 54 deletions
|
@ -387,6 +387,7 @@ func (sinfo *sessionInfo) close() {
|
|||
delete(sinfo.core.sessions.addrToPerm, sinfo.theirAddr)
|
||||
delete(sinfo.core.sessions.subnetToPerm, sinfo.theirSubnet)
|
||||
close(sinfo.worker)
|
||||
sinfo.init = false
|
||||
}
|
||||
|
||||
// Returns a session ping appropriate for the given session info.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue