🎨 Improve exit on Android

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-09 10:40:17 +08:00
parent 2bf5bb50c2
commit 21dff696cc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 25 additions and 11 deletions

View file

@ -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