mirror of
https://github.com/4sval/FModel.git
synced 2026-09-22 08:24:40 -05:00
Sleep -> Yield
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user