2
0
Эх сурвалжийг харах

Catch Exception when disposing connection

ipitio 2 жил өмнө
parent
commit
58ed50c9d0

+ 5 - 0
MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs

@@ -232,6 +232,11 @@ namespace MediaBrowser.Controller.Net
                 // TODO Investigate and properly fix.
                 Logger.LogError(ex, "Object Disposed");
             }
+            catch (Exception ex)
+            {
+                // TODO Investigate and properly fix.
+                Logger.LogError(ex, "Object Disposed Exception");
+            }
 
             lock (_activeConnections)
             {