Remove redundant SuppressFinalize call

pull/10366/head
Stepan Goremykin 8 months ago
parent 1141883f77
commit a3d3ec7e0b

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

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

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

Loading…
Cancel
Save