mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-22 03:41:08 +00:00
Fixed a possible cause for infinite resource check loader
This commit is contained in:
parent
9c4c63a749
commit
1174d1ac10
1 changed files with 11 additions and 5 deletions
|
@ -285,11 +285,17 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
{
|
{
|
||||||
dispatcher.Invoke(() =>
|
dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
if (!t.IsFaulted && !t.IsCanceled)
|
try
|
||||||
requiredarchives = t.Result;
|
{
|
||||||
else requiredarchives = new List<string>();
|
if (!t.IsFaulted && !t.IsCanceled)
|
||||||
ApplyDefaultRequiredArchivesSetting();
|
requiredarchives = t.Result;
|
||||||
IsCheckingRequiredArchives = false;
|
else requiredarchives = new List<string>();
|
||||||
|
ApplyDefaultRequiredArchivesSetting();
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
IsCheckingRequiredArchives = false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue