better disposal of alchemy server

This commit is contained in:
Luke Pulverenti 2013-09-28 17:16:36 -04:00
parent 7565dd0249
commit 0161f67959

View file

@ -123,7 +123,9 @@ namespace MediaBrowser.Server.Implementations.WebSocket
{
if (WebSocketServer != null)
{
WebSocketServer.Stop();
WebSocketServer.Dispose();
WebSocketServer = null;
}
}
}