Close connected sockets when a server is deleted; closes pterodactyl/panel#2428
This commit is contained in:
@@ -54,6 +54,10 @@ type Server struct {
|
||||
|
||||
// The console throttler instance used to control outputs.
|
||||
throttler *ConsoleThrottler
|
||||
|
||||
// Tracks open websocket connections for the server.
|
||||
wsBag *WebsocketBag
|
||||
wsBagLocker sync.Mutex
|
||||
}
|
||||
|
||||
type InstallerDetails struct {
|
||||
|
||||
Reference in New Issue
Block a user