mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: print sigs
This commit is contained in:
parent
9a5d603bee
commit
9848e29447
@ -130,10 +130,7 @@ func Start(
|
||||
sigs := make(chan os.Signal, 1)
|
||||
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM, syscall.SIGQUIT)
|
||||
|
||||
for data := range sigs {
|
||||
log.Println("23333333333333333333333333", data)
|
||||
}
|
||||
<-sigs
|
||||
log.Println("23333333333:", <-sigs)
|
||||
|
||||
var (
|
||||
done = make(chan struct{}, 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user