Skip to content

Commit

Permalink
fix: close signal channel
Browse files Browse the repository at this point in the history
Closes #29
  • Loading branch information
Jose Diaz-Gonzalez authored and josegonzalez committed Mar 31, 2024
1 parent 6392fa4 commit 1256ef2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions basher.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ func (c *Context) Run(command string, args []string) (int, error) {
if err != nil {
errChan <- err
}
signal.Stop(signals)
close(signals)
}
}
}()
Expand Down

0 comments on commit 1256ef2

Please sign in to comment.