试着解决java不响应终止信号的问题

This commit is contained in:
MahnoKropotkinvich 2024-12-24 00:53:46 +08:00
parent a88680a386
commit d1b1ca8dc0

View File

@ -34,7 +34,7 @@ func Running() {
DaemonChanRX <- struct{}{}
}
func Stopping() {
proc.Process.Signal(syscall.SIGINT)
proc.Process.Signal(syscall.SIGTERM)
proc.Wait()
go Stopped()
DaemonChanRX <- struct{}{}