🎨 Improve exit

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-09 12:20:57 +08:00
parent 00d00b54ef
commit ddae80a5f4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@ import (
)
var (
WebSocketServer = melody.New()
WebSocketServer *melody.Melody
// map[string]map[string]*melody.Session{}
sessions = sync.Map{} // {appId, {sessionId, session}}