mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-30 10:35:22 +00:00
Call SharpWebSocket's Closed event handler before disposing
This commit is contained in:
1 parent
588a13377c
commit
1ac282b12e
1 file changed
+1
@@ -90,6 +90,7 @@ namespace Emby.Server.Implementations.SocketSharp
|
||||
_webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closed by client",
|
||||
CancellationToken.None);
|
||||
}
|
||||
Closed?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
_disposed = true;
|
||||
|
||||
Reference in new issue
Block a user