aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Notifications/WebSocketNotifier.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-05 15:49:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-05 15:49:02 -0400
commit49b799adbe3d65973b136bee758584748ecf6c2a (patch)
treece6784069ed4cb412c917dc1e3d884c56dea2654 /Emby.Server.Implementations/Notifications/WebSocketNotifier.cs
parent3b318a3add352a72b6b0430300fddbf61edac216 (diff)
3.2.30.8
Diffstat (limited to 'Emby.Server.Implementations/Notifications/WebSocketNotifier.cs')
-rw-r--r--Emby.Server.Implementations/Notifications/WebSocketNotifier.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Notifications/WebSocketNotifier.cs b/Emby.Server.Implementations/Notifications/WebSocketNotifier.cs
index 0d89ba84f..6e57e7f81 100644
--- a/Emby.Server.Implementations/Notifications/WebSocketNotifier.cs
+++ b/Emby.Server.Implementations/Notifications/WebSocketNotifier.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Net;
+using System;
+using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Notifications;
using MediaBrowser.Controller.Plugins;
using System.Linq;
@@ -49,6 +50,7 @@ namespace Emby.Server.Implementations.Notifications
public void Dispose()
{
_notificationsRepo.NotificationAdded -= _notificationsRepo_NotificationAdded;
+ GC.SuppressFinalize(this);
}
}
}