Feature: bump gVisor to latest version (#376)

This commit is contained in:
Jason Lyu
2024-07-19 23:31:44 -04:00
committed by GitHub
parent 7555425ab8
commit dd791e50c1
11 changed files with 40 additions and 68 deletions

View File

@@ -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 {