From f5050d45ba1f599471eaa7b29c03037567646d87 Mon Sep 17 00:00:00 2001 From: liweifeng Date: Fri, 15 Sep 2023 12:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EtaskName=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E6=B6=88=E6=81=AF=E9=98=9F=E5=88=97=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liweifeng Change-Id: I21b21d647a1d11623276dd3be8bde98dcdc6f896 --- frameworks/native/runtime/ohos_js_environment_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/runtime/ohos_js_environment_impl.cpp b/frameworks/native/runtime/ohos_js_environment_impl.cpp index 350c72831ab..f5de4cb4fba 100644 --- a/frameworks/native/runtime/ohos_js_environment_impl.cpp +++ b/frameworks/native/runtime/ohos_js_environment_impl.cpp @@ -96,7 +96,7 @@ bool OHOSJsEnvironmentImpl::InitLoop(NativeEngine* engine) if (eventHandler_ != nullptr) { uint32_t events = AppExecFwk::FILE_DESCRIPTOR_INPUT_EVENT | AppExecFwk::FILE_DESCRIPTOR_OUTPUT_EVENT; - eventHandler_->AddFileDescriptorListener(fd, events, std::make_shared(uvLoop)); + eventHandler_->AddFileDescriptorListener(fd, events, std::make_shared(uvLoop), "uvLoopTask"); } return true; -- Gitee