Ensure .Close runs on UI thread
This commit is contained in:
parent
3a5073a8fc
commit
c5e4597f7f
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
if (!WizardWindow.HasBeenClosed)
|
||||
{
|
||||
WizardWindow.Close();
|
||||
UiThread.RunOnIdle(WizardWindow.Close);
|
||||
}
|
||||
}, ref unregisterEvents);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue