mirror of
https://github.com/openharmony/miscservices_pasteboard.git
synced 2026-07-19 17:13:31 -04:00
Signed-off-by: lovechinamo <wangdongqi2@huawei.com>
Changes to be committed:
This commit is contained in:
@@ -234,7 +234,7 @@ napi_value PasteDataRecordNapi::ConvertToText(napi_env env, napi_callback_info i
|
||||
(void *)asyncText, &asyncText->work);
|
||||
napi_queue_async_work(env, asyncText->work);
|
||||
if (syncWork != napi_ok) {
|
||||
delete asyncContext;
|
||||
delete asyncText;
|
||||
}
|
||||
|
||||
return promise;
|
||||
|
||||
Reference in New Issue
Block a user