Browse Source

Remove redundant SuppressFinalize call

Stepan Goremykin 1 year ago
parent
commit
a3d3ec7e0b

+ 0 - 1
Emby.Server.Implementations/IO/FileRefresher.cs

@@ -210,7 +210,6 @@ namespace Emby.Server.Implementations.IO
 
             DisposeTimer();
             _disposed = true;
-            GC.SuppressFinalize(this);
         }
     }
 }

+ 0 - 2
Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs

@@ -44,8 +44,6 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
                     StopStreaming(socket).GetAwaiter().GetResult();
                 }
             }
-
-            GC.SuppressFinalize(this);
         }
 
         public async Task<bool> CheckTunerAvailability(IPAddress remoteIP, int tuner, CancellationToken cancellationToken)

+ 0 - 2
Emby.Server.Implementations/Udp/UdpServer.cs

@@ -126,8 +126,6 @@ namespace Emby.Server.Implementations.Udp
             }
 
             _udpSocket?.Dispose();
-
-            GC.SuppressFinalize(this);
         }
     }
 }