fix error

Signed-off-by: maoliang <maoliang8@huawei.com>
This commit is contained in:
maoliang 2024-07-10 19:01:44 +08:00
parent 273fdabf0f
commit 7c75109855

View File

@ -106,7 +106,6 @@ WmErrorCode JsWindowRegisterManager::RegisterListener(sptr<Window> window, std::
windowManagerListener->SetMainEventHandler();
WmErrorCode ret = ProcessRegisterCallback(listenerFunctionType, caseType, windowManagerListener, window,
true, env, parameter);
if (ret != WmErrorCode::WM_OK) {
WLOGFE("[NAPI]Register type %{public}s failed", type.c_str());
return ret;