codecheck

Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-11-08 20:30:28 +08:00
commit acc9ec1e94

View File

@ -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);