diff --git a/go.mod b/go.mod index 752969b5..cc745413 100644 --- a/go.mod +++ b/go.mod @@ -13,9 +13,8 @@ require ( gopkg.in/fsnotify.v1 v1.4.7 // indirect ) -require ( - golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect - google.golang.org/protobuf v1.28.0 // indirect -) +require golang.org/x/sys v0.0.0-20220908164124-27713097b956 + +require google.golang.org/protobuf v1.28.0 // indirect go 1.19 diff --git a/internal/ibazel/command/notify_command.go b/internal/ibazel/command/notify_command.go index 880ec154..fdd0c406 100644 --- a/internal/ibazel/command/notify_command.go +++ b/internal/ibazel/command/notify_command.go @@ -46,10 +46,6 @@ func NotifyCommand(startupArgs []string, bazelArgs []string, target string, args } func (c *notifyCommand) Terminate() { - if !c.IsSubprocessRunning() { - c.pg = nil - return - } c.termSync.Do(func() { terminate(c.pg) })