Fixing crash with terminal buffer getting changed while enumerating

This commit is contained in:
LarsBrubaker 2020-10-06 07:50:47 -07:00
parent e832522155
commit e64488bd5a
4 changed files with 44 additions and 30 deletions

View file

@ -89,7 +89,7 @@ namespace MatterHackers.MatterControl
};
this.AddChild(bodyRow);
textScrollWidget = new TextScrollWidget(printer, printer.Connection.TerminalLog.PrinterLines)
textScrollWidget = new TextScrollWidget(printer, printer.Connection.TerminalLog)
{
BackgroundColor = theme.MinimalShade,
TextColor = theme.TextColor,