Skip to content

Commit

Permalink
Fix bitbox.Core to use proc.Proc.Stop() instead of Kill()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Barzee committed Mar 23, 2021
1 parent d011f92 commit 60f9885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c *Core) Stop(id uuid.UUID) error {
if p, err = c.findProcess(id); err != nil {
return c.newError("Stop", err)
}
if err = p.Kill(); err != nil {
if err = p.Stop(); err != nil {
return c.newError("Stop", err)
}
return nil
Expand Down

0 comments on commit 60f9885

Please sign in to comment.