Skip to content

Commit 1d6212d

Browse files
author
Jose Diaz-Gonzalez
committed
fix: close signal channel
Closes #29
1 parent 9ffba79 commit 1d6212d

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
@@ -289,6 +289,8 @@ func (c *Context) Run(command string, args []string) (int, error) {
289289
if err != nil {
290290
errChan <- err
291291
}
292+
signal.Stop(signals)
293+
close(signals)
292294
}
293295
}
294296
}()

0 commit comments

Comments
 (0)