mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🐛 Can't switch workspaces on mobile app Fix https://github.com/siyuan-note/siyuan/issues/10654
This commit is contained in:
parent
71a7a71b3a
commit
b72b832007
4 changed files with 18 additions and 14 deletions
|
|
@ -34,7 +34,7 @@ func HandleSignal() {
|
|||
signal.Notify(c, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGTERM)
|
||||
s := <-c
|
||||
logging.LogInfof("received os signal [%s], exit kernel process now", s)
|
||||
Close(false, 1)
|
||||
Close(false, true, 1)
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
@ -78,7 +78,7 @@ func HookDesktopUIProcJob() {
|
|||
}
|
||||
|
||||
logging.LogWarnf("confirmed no active UI proc, exit kernel process now")
|
||||
Close(false, 1)
|
||||
Close(false, true, 1)
|
||||
}
|
||||
|
||||
var uiProcNames = []string{"siyuan", "electron"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue