mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
Sleep -> Yield
This commit is contained in:
parent
39f5855b12
commit
84bb78558e
|
|
@ -509,7 +509,7 @@ public class CUE4ParseViewModel : ViewModel
|
|||
{
|
||||
foreach (var asset in assetItems)
|
||||
{
|
||||
Thread.Sleep(10);
|
||||
Thread.Yield();
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
Extract(cancellationToken, asset.FullPath, TabControl.HasNoTabs);
|
||||
}
|
||||
|
|
@ -519,7 +519,7 @@ public class CUE4ParseViewModel : ViewModel
|
|||
{
|
||||
foreach (var asset in folder.AssetsList.Assets)
|
||||
{
|
||||
Thread.Sleep(10);
|
||||
Thread.Yield();
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user