mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
updated nuget
This commit is contained in:
parent
c8e4889ac7
commit
715119b525
21 changed files with 134 additions and 23 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Alchemy.Classes;
|
||||
using MediaBrowser.Common.Events;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using MediaBrowser.Model.Net;
|
||||
|
|
@ -18,6 +19,8 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
|||
/// </summary>
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public event EventHandler<EventArgs> Closed;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the web socket.
|
||||
/// </summary>
|
||||
|
|
@ -66,6 +69,8 @@ namespace MediaBrowser.Server.Implementations.WebSocket
|
|||
private void OnDisconnected(UserContext context)
|
||||
{
|
||||
_disconnected = true;
|
||||
|
||||
EventHelper.FireEventIfNotNull(Closed, this, EventArgs.Empty, _logger);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue