From 7662ab4e08bcc004eb7217fb871c3209826f4f23 Mon Sep 17 00:00:00 2001 From: Sense T Date: Sat, 10 Sep 2022 10:44:27 +0000 Subject: [PATCH] fix bug --- manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/manager.go b/manager.go index 7bd4ef0..7efbdd6 100644 --- a/manager.go +++ b/manager.go @@ -25,6 +25,7 @@ func NewManager(tun io.ReadWriter) *Manager { accept: make(chan *DataFrame, 1024), newConnection: make(chan *Connection), delConnection: make(chan *Connection), + closed: make(chan bool), logger: DefaultLogger, } }