Skip to content

Commit 055440b

Browse files
committed
Fix unbuffered os.Signal channel
1 parent ca46fc9 commit 055440b

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy