fix InitializeComponentsImmediate (#821)

This commit is contained in:
Egor Zelenkov
2024-03-18 06:48:55 +00:00
committed by GitHub
parent 5e29e96031
commit 2d36aaad75
+4 -1
View File
@@ -14,7 +14,10 @@ namespace wi::initializer
void InitializeComponentsImmediate()
{
InitializeComponentsAsync();
if (!initializationStarted)
{
InitializeComponentsAsync();
}
wi::jobsystem::Wait(ctx);
}
void InitializeComponentsAsync()