Skip to content

Commit 1256ef2

Browse files
Jose Diaz-Gonzalezjosegonzalez
authored andcommitted
fix: close signal channel
Closes #29
1 parent 6392fa4 commit 1256ef2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

basher.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ func (c *Context) Run(command string, args []string) (int, error) {
298298
if err != nil {
299299
errChan <- err
300300
}
301+
signal.Stop(signals)
302+
close(signals)
301303
}
302304
}
303305
}()

0 commit comments

Comments
 (0)