🎨 Improve kernel exit

This commit is contained in:
Daniel 2025-05-26 12:51:14 +08:00
parent 0acda592dc
commit 7d3be24347
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -687,6 +687,7 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
time.Sleep(500 * time.Millisecond)
logging.LogInfof("exited kernel")
util.WebSocketServer.Close()
util.HttpServing = false
os.Exit(logging.ExitCodeOk)
}()
return