mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
Revert "Description:RegisterWorker only in non-sharedRuntime."
This reverts commit 058c2e0918.
Signed-off-by: zhangyafei.echo <zhangyafei12@huawei.com>
Change-Id: I4dee7cdf49831bc99f3eb69b170dd3c22cdadc7e
This commit is contained in:
@@ -734,12 +734,11 @@ bool JsiDeclarativeEngine::Initialize(const RefPtr<FrontendDelegate>& delegate)
|
||||
arkNativeEngine->SetPackagePath(packagePath);
|
||||
}
|
||||
}
|
||||
|
||||
RegisterWorker();
|
||||
} else {
|
||||
LOGI("Using sharedRuntime, UVLoop handled by AbilityRuntime");
|
||||
}
|
||||
|
||||
RegisterWorker();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user