Fix callback of async work of ark napi

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>

Change-Id: Idef5e6517775b0e62df9d39b565d28d9fe7018b6
This commit is contained in:
zhangyukun
2021-09-19 17:27:21 +08:00
parent fbfec11d5e
commit caeffaabef
+1 -1
View File
@@ -127,7 +127,7 @@ void ArkNativeEngine::Loop(LoopMode mode, bool needSync)
{
LocalScope scope(vm_);
NativeEngine::Loop(mode, needSync);
//panda::JSNApi::ExecutePendingJob(vm_);
panda::JSNApi::ExecutePendingJob(vm_);
}
NativeValue* ArkNativeEngine::GetGlobal()