liteide icon indicating copy to clipboard operation
liteide copied to clipboard

Mac系统下调试结束进程不会退出

Open brucezhao opened this issue 3 years ago • 1 comments

Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!

What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?

X37.3 Qt5.12.10 bit64

What version of Go are you using (go version)?

Go 1.15.7

What operating system and processor architecture are you using(go env)?

Mac

当程序以监听系统信号结束时,Mac系统下调试结束后,进程不会退出,需要手动kill。 代码如下: signalChan := make(chan os.Signal, 1) signal.Notify(signalChan, syscall.SIGINT, syscall.SIGTERM)

s := <-signalChan
zLog(nil, VER, "收到退出信号:", s)

不以这个结束的程序没有问题。

brucezhao avatar Mar 04 '21 03:03 brucezhao

之前win也有这个问题,后来我提了解决了。

xdeng avatar Oct 25 '21 03:10 xdeng