Use UiThread.ClearInterval
This commit is contained in:
parent
febe76e55d
commit
0d066881a4
13 changed files with 35 additions and 53 deletions
|
|
@ -81,7 +81,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
zPosition.Text = "Z: {0:0.00}".FormatWith(destinationPosition.Z);
|
||||
}, .3);
|
||||
|
||||
this.Closed += (s, e) => runningInterval.Continue = false;
|
||||
this.Closed += (s, e) => UiThread.ClearInterval(runningInterval);
|
||||
|
||||
zButtonsAndInfo.AddChild(zPosition);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue