mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
client: lint
This commit is contained in:
@@ -124,7 +124,7 @@ func handleSignal(svr *client.Service) {
|
||||
ch := make(chan os.Signal)
|
||||
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
||||
<-ch
|
||||
svr.Close(time.Millisecond * 250)
|
||||
svr.GracefulClose(500 * time.Millisecond)
|
||||
close(kcpDoneCh)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user