Use UiThread.ClearInterval

This commit is contained in:
John Lewin 2018-11-13 16:52:23 -08:00
parent febe76e55d
commit 0d066881a4
13 changed files with 35 additions and 53 deletions

View file

@ -630,7 +630,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
break;
}
}, 1);
bodyRow.Closed += (s, e) => runningInterval.Continue = false;
bodyRow.Closed += (s, e) => UiThread.ClearInterval(runningInterval);
bodyRow.Visible = false;