chore
This commit is contained in:
parent
543ff468b7
commit
115c59d5e1
@ -119,8 +119,10 @@ func (a *App) WslStop() error {
|
|||||||
if !running {
|
if !running {
|
||||||
return errors.New("wsl not running")
|
return errors.New("wsl not running")
|
||||||
}
|
}
|
||||||
|
if cmd != nil {
|
||||||
err = cmd.Process.Kill()
|
err = cmd.Process.Kill()
|
||||||
cmd = nil
|
cmd = nil
|
||||||
|
}
|
||||||
// stdin.Close()
|
// stdin.Close()
|
||||||
stdin = nil
|
stdin = nil
|
||||||
distro = nil
|
distro = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user