🎨 Improve http server

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

View file

@ -745,6 +745,9 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
if nil != util.WebSocketServer {
util.WebSocketServer.Close()
}
if nil != util.HttpServer {
util.HttpServer.Close()
}
util.HttpServing = false
if util.ContainerAndroid == util.Container {