fix InitializeComponentsImmediate (#821)
This commit is contained in:
@@ -14,7 +14,10 @@ namespace wi::initializer
|
||||
|
||||
void InitializeComponentsImmediate()
|
||||
{
|
||||
InitializeComponentsAsync();
|
||||
if (!initializationStarted)
|
||||
{
|
||||
InitializeComponentsAsync();
|
||||
}
|
||||
wi::jobsystem::Wait(ctx);
|
||||
}
|
||||
void InitializeComponentsAsync()
|
||||
|
||||
Reference in New Issue
Block a user