8000 Merge pull request #572 from symfony-cli/unbuffered-channel · tucksaun/symfonycli@57847e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57847e4

Browse files
authored
Merge pull request symfony-cli#572 from symfony-cli/unbuffered-channel
Fix unbuffered os.Signal channel
2 parents ef7f6b1 + 055440b commit 57847e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local/php/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ func (e *Executor) Execute(loadDotEnv bool) int {
457457
close(waitCh)
458458
}()
459459

460-
sigChan := make(chan os.Signal)
460+
sigChan := make(chan os.Signal, 1)
461461
signal.Notify(sigChan)
462462
defer signal.Stop(sigChan)
463463

0 commit comments

Comments
 (0)
0