提交 da54e461 编写于 作者: 1 18392170496

clean ipc alarm

Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: N@ma-gentang <magentang3@huawei.com>
Signed-off-by: N18392170496 <magentang3@huawei.com>
上级 74b41129
...@@ -1254,7 +1254,7 @@ napi_value NAPI_MessageParcel::JS_rewindWrite(napi_env env, napi_callback_info i ...@@ -1254,7 +1254,7 @@ napi_value NAPI_MessageParcel::JS_rewindWrite(napi_env env, napi_callback_info i
napi_value NAPI_MessageParcel::JS_writeNoException(napi_env env, napi_callback_info info) napi_value NAPI_MessageParcel::JS_writeNoException(napi_env env, napi_callback_info info)
{ {
napi_value thisVar = nullptr; napi_value thisVar = nullptr;
napi_get_cb_info(env, info, 0, nullptr, &thisVar, nullptr); napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
NAPI_MessageParcel *napiParcel = nullptr; NAPI_MessageParcel *napiParcel = nullptr;
napi_unwrap(env, thisVar, (void **)&napiParcel); napi_unwrap(env, thisVar, (void **)&napiParcel);
NAPI_ASSERT(env, napiParcel != nullptr, "napiParcel is null"); NAPI_ASSERT(env, napiParcel != nullptr, "napiParcel is null");
...@@ -1269,7 +1269,7 @@ napi_value NAPI_MessageParcel::JS_readException(napi_env env, napi_callback_info ...@@ -1269,7 +1269,7 @@ napi_value NAPI_MessageParcel::JS_readException(napi_env env, napi_callback_info
napi_value result = nullptr; napi_value result = nullptr;
napi_get_undefined(env, &result); napi_get_undefined(env, &result);
napi_value thisVar = nullptr; napi_value thisVar = nullptr;
napi_get_cb_info(env, info, 0, nullptr, &thisVar, nullptr); napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
NAPI_MessageParcel *napiParcel = nullptr; NAPI_MessageParcel *napiParcel = nullptr;
napi_unwrap(env, thisVar, (void **)&napiParcel); napi_unwrap(env, thisVar, (void **)&napiParcel);
NAPI_ASSERT(env, napiParcel != nullptr, "napiParcel is null"); NAPI_ASSERT(env, napiParcel != nullptr, "napiParcel is null");
......
...@@ -1592,7 +1592,7 @@ napi_value NAPI_MessageSequence::JS_rewindWrite(napi_env env, napi_callback_info ...@@ -1592,7 +1592,7 @@ napi_value NAPI_MessageSequence::JS_rewindWrite(napi_env env, napi_callback_info
napi_value NAPI_MessageSequence::JS_writeNoException(napi_env env, napi_callback_info info) napi_value NAPI_MessageSequence::JS_writeNoException(napi_env env, napi_callback_info info)
{ {
napi_value thisVar = nullptr; napi_value thisVar = nullptr;
napi_get_cb_info(env, info, 0, nullptr, &thisVar, nullptr); napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
NAPI_MessageSequence *napiSequence = nullptr; NAPI_MessageSequence *napiSequence = nullptr;
napi_unwrap(env, thisVar, (void **)&napiSequence); napi_unwrap(env, thisVar, (void **)&napiSequence);
if (napiSequence == nullptr) { if (napiSequence == nullptr) {
...@@ -1614,7 +1614,7 @@ napi_value NAPI_MessageSequence::JS_readException(napi_env env, napi_callback_in ...@@ -1614,7 +1614,7 @@ napi_value NAPI_MessageSequence::JS_readException(napi_env env, napi_callback_in
napi_value result = nullptr; napi_value result = nullptr;
napi_get_undefined(env, &result); napi_get_undefined(env, &result);
napi_value thisVar = nullptr; napi_value thisVar = nullptr;
napi_get_cb_info(env, info, 0, nullptr, &thisVar, nullptr); napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr);
NAPI_MessageSequence *napiSequence = nullptr; NAPI_MessageSequence *napiSequence = nullptr;
napi_unwrap(env, thisVar, (void **)&napiSequence); napi_unwrap(env, thisVar, (void **)&napiSequence);
if (napiSequence == nullptr) { if (napiSequence == nullptr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册