have a timeout on waiting fro help to load
This commit is contained in:
parent
659fe98769
commit
85d52ed25d
1 changed files with 3 additions and 1 deletions
|
|
@ -339,7 +339,9 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
double maxMenuItemWidth = 0;
|
||||
|
||||
while (ApplicationController.Instance.HelpArticles.Path == null)
|
||||
var time = UiThread.CurrentTimerMs;
|
||||
while (ApplicationController.Instance.HelpArticles.Path == null
|
||||
&& UiThread.CurrentTimerMs < time + 5000)
|
||||
{
|
||||
Thread.Sleep(10);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue