mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-06 01:07:03 +08:00
Feature: bump gVisor to latest version (#376)
This commit is contained in:
@@ -82,14 +82,14 @@ func start() error {
|
||||
func stop() (err error) {
|
||||
_engineMu.Lock()
|
||||
if _defaultDevice != nil {
|
||||
err = _defaultDevice.Close()
|
||||
_defaultDevice.Close()
|
||||
}
|
||||
if _defaultStack != nil {
|
||||
_defaultStack.Close()
|
||||
_defaultStack.Wait()
|
||||
}
|
||||
_engineMu.Unlock()
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
func execCommand(cmd string) error {
|
||||
|
Reference in New Issue
Block a user