mirror of
https://github.com/openharmony/notification_ces_standard.git
synced 2026-08-24 22:31:33 -04:00
fix crash for common event
Signed-off-by: zhongjianfei <zhongjianfei@huawei.com> Change-Id: Ic2a49ac8337944f4faa6875b0ed4a968b2ac2137
This commit is contained in:
@@ -2637,6 +2637,7 @@ napi_value CommonEventSubscriberConstructor(napi_env env, napi_callback_info inf
|
||||
delete asyncCallbackInfo;
|
||||
asyncCallbackInfo = nullptr;
|
||||
}
|
||||
CommonEventManager::UnSubscribeCommonEvent(subscriberInstance.first);
|
||||
subscriberInstances.erase(subscriberInstance.first);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user