mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
reduce byte conversions with alchemy web socket
This commit is contained in:
parent
44b12c0f9f
commit
98e7eeeff9
9 changed files with 175 additions and 35 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue