Skip to content

Commit

Permalink
IsNullOrDisposed qol.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusfriedman committed Nov 18, 2023
1 parent a0f41ef commit 934e11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitTests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,7 @@ static void TestServer()

Console.WriteLine("SessionId: " + (client.SessionId ?? string.Empty));

if (false.Equals(Media.Common.IDisposedExtensions.IsNullOrDisposed(client.m_RtpClient)))
if (Media.Common.IDisposedExtensions.IsNullOrDisposed(client.m_RtpClient) is false)
{
Console.WriteLine("Rtp: " + (client.m_RtpClient.IsActive ? "Active" : "Inactive"));

Expand Down

0 comments on commit 934e11f

Please sign in to comment.