Skip to content

Commit

Permalink
always kill process group
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiller-figma committed Jan 7, 2025
1 parent ffa6c14 commit ada77fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions internal/ibazel/command/notify_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit ada77fe

Please sign in to comment.