mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Prevent NRE in Dispatcher when debugger is not attached
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Microsoft.Iris.Queues
|
||||
QueueItem nextItem = queue.GetNextItem();
|
||||
if (nextItem != null)
|
||||
{
|
||||
Application.Debugger.LogDispatcher(nextItem.ToDebugPacketString());
|
||||
Application.Debugger?.LogDispatcher(nextItem.ToDebugPacketString());
|
||||
nextItem.Dispatch();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user