mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Call SharpWebSocket's Closed event handler before disposing
This commit is contained in:
parent
588a13377c
commit
1ac282b12e
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ namespace Emby.Server.Implementations.SocketSharp
|
||||||
_webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closed by client",
|
_webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closed by client",
|
||||||
CancellationToken.None);
|
CancellationToken.None);
|
||||||
}
|
}
|
||||||
|
Closed?.Invoke(this, EventArgs.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
_disposed = true;
|
_disposed = true;
|
||||||
|
|
Loading…
Reference in a new issue