Make sure we never try to queue a command before the queue is initialized.

This commit is contained in:
Lars Brubaker 2017-03-01 11:22:47 -08:00
parent e98d4b32a7
commit 958780d4a6
2 changed files with 2 additions and 2 deletions

View file

@ -2334,7 +2334,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication
for (int i = 0; i < lines.Length; i++)
{
queuedCommandStream2.Add(lines[i]);
queuedCommandStream2?.Add(lines[i]);
}
}