Merge pull request #2437 from jejayhe/master

Some code optimization
pull/2623/head
Kslr 2020-06-27 07:27:27 +08:00 committed by GitHub
commit 665e9b042c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ func main() {
{
osSignals := make(chan os.Signal, 1)
signal.Notify(osSignals, os.Interrupt, os.Kill, syscall.SIGTERM)
signal.Notify(osSignals, os.Interrupt, syscall.SIGTERM)
<-osSignals
}
}