mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
codecheck
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
commit
acc9ec1e94
@ -987,7 +987,7 @@ napi_value JsContinuationManagerInit(napi_env env, napi_value exportObj)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
JsContinuationManager *jsContinuationManager = new JsContinuationManager();
|
JsContinuationManager* jsContinuationManager = new JsContinuationManager();
|
||||||
if (napi_wrap(env, exportObj, jsContinuationManager, JsContinuationManager::Finalizer, nullptr, nullptr)
|
if (napi_wrap(env, exportObj, jsContinuationManager, JsContinuationManager::Finalizer, nullptr, nullptr)
|
||||||
!= napi_ok) {
|
!= napi_ok) {
|
||||||
JsContinuationManager::Finalizer(env, jsContinuationManager, nullptr);
|
JsContinuationManager::Finalizer(env, jsContinuationManager, nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user