mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 07:23:05 +03:00
Replace != null with is not null
This commit is contained in:
@@ -189,7 +189,7 @@ namespace Jellyfin.Api.Models.PlaybackDtos
|
||||
{
|
||||
lock (_timerLock)
|
||||
{
|
||||
if (KillTimer != null)
|
||||
if (KillTimer is not null)
|
||||
{
|
||||
KillTimer.Dispose();
|
||||
KillTimer = null;
|
||||
@@ -245,7 +245,7 @@ namespace Jellyfin.Api.Models.PlaybackDtos
|
||||
|
||||
lock (_timerLock)
|
||||
{
|
||||
if (KillTimer != null)
|
||||
if (KillTimer is not null)
|
||||
{
|
||||
var intervalMs = PingTimeout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user