mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve exit on Android
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
2bf5bb50c2
commit
21dff696cc
5 changed files with 25 additions and 11 deletions
|
|
@ -746,6 +746,11 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
|
|||
util.WebSocketServer.Close()
|
||||
}
|
||||
util.HttpServing = false
|
||||
|
||||
if util.ContainerAndroid == util.Container {
|
||||
return
|
||||
}
|
||||
|
||||
os.Exit(logging.ExitCodeOk)
|
||||
}()
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue