Use ? and ?? where applicable

This commit is contained in:
Patrick Barron
2020-04-05 12:45:01 -04:00
parent 6a3f9253db
commit 961f48f5bc
13 changed files with 42 additions and 102 deletions

View File

@@ -92,10 +92,7 @@ namespace MediaBrowser.Api
{
lock (_timerLock)
{
if (KillTimer != null)
{
KillTimer.Change(Timeout.Infinite, Timeout.Infinite);
}
KillTimer?.Change(Timeout.Infinite, Timeout.Infinite);
}
}