🎨 改进桌面端退出监控后台任务

This commit is contained in:
Liang Ding 2023-01-27 15:35:37 +08:00
parent 6e56393ab9
commit 95ef384cde
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -57,7 +57,6 @@ func HookDesktopUIProcJob() {
uiProcNames := []string{"siyuan", "electron"}
existUIProc := false
util.UIProcessIDs.Range(func(uiProcIDArg, _ interface{}) bool {
uiProcID, err := strconv.Atoi(uiProcIDArg.(string))
if nil != err {