Skip to content

Commit

Permalink
Put null conditional back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Mar 24, 2020
1 parent 5aab7c0 commit d24e350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScreenCast.Core/Communication/WebRtcSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void AddIceCandidate(string sdpMid, int sdpMlineIndex, string candidate)

public void Dispose()
{
CaptureChannel.Dispose();
CaptureChannel?.Dispose();
PeerConnection?.Dispose();
}

Expand Down

0 comments on commit d24e350

Please sign in to comment.