better disposal of alchemy server
This commit is contained in:
parent
7565dd0249
commit
0161f67959
|
@ -123,7 +123,9 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
|||
{
|
||||
if (WebSocketServer != null)
|
||||
{
|
||||
WebSocketServer.Stop();
|
||||
WebSocketServer.Dispose();
|
||||
WebSocketServer = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user