mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-06 09:16:58 +08:00
Fix: wrong wait logic
This commit is contained in:
@@ -83,7 +83,6 @@ func (e *engine) start() error {
|
||||
func (e *engine) stop() (err error) {
|
||||
if e.device != nil {
|
||||
err = e.device.Close()
|
||||
e.device.Wait()
|
||||
}
|
||||
if e.stack != nil {
|
||||
e.stack.Close()
|
||||
|
Reference in New Issue
Block a user