mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-15 23:46:05 +00:00
fix deadlock from use of phony.Block by actors when ckr is enabled
This commit is contained in:
@ -31,7 +31,7 @@ func (s *tunConn) close() {
|
||||
}
|
||||
|
||||
func (s *tunConn) _close_from_tun() {
|
||||
s.conn.Close()
|
||||
go s.conn.Close() // Just in case it blocks on actor operations
|
||||
delete(s.tun.addrToConn, s.addr)
|
||||
delete(s.tun.subnetToConn, s.snet)
|
||||
func() {
|
||||
|
Reference in New Issue
Block a user