mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
reduce byte conversions with alchemy web socket
This commit is contained in:
@@ -90,6 +90,10 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
||||
/// </summary>
|
||||
public void Stop()
|
||||
{
|
||||
if (WebSocketServer != null)
|
||||
{
|
||||
WebSocketServer.Stop();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -107,7 +111,10 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
||||
/// <param name="dispose"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
||||
protected virtual void Dispose(bool dispose)
|
||||
{
|
||||
|
||||
if (WebSocketServer != null)
|
||||
{
|
||||
WebSocketServer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user