修复缓存策略页面空白的问题/stop命令改成QUIT信号

This commit is contained in:
刘祥超
2020-10-14 18:44:11 +08:00
parent 5e1670524e
commit 85df69f3de
5 changed files with 43 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ import (
"os/exec"
"runtime"
"strconv"
"syscall"
"time"
)
@@ -199,7 +200,7 @@ func (this *AppCmd) runStop() {
}
// 停止进程
_ = proc.Kill()
_ = proc.Signal(syscall.SIGQUIT)
// 在Windows上经常不能及时释放资源
_ = DeletePid(Tea.Root + "/bin/pid")