mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Fixed potential NRE in ToDebugPacketString
This commit is contained in:
@@ -160,7 +160,7 @@ namespace Microsoft.Iris.Session
|
||||
|
||||
public override string ToDebugPacketString()
|
||||
{
|
||||
string packetString = _target.Target == null
|
||||
string packetString = _target?.Target == null
|
||||
? string.Empty
|
||||
: $"{_target.Target}.";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user