From 00c30969ee4fd6c4f5405a50e748d05a9f0d2051 Mon Sep 17 00:00:00 2001 From: hxf233333 Date: Thu, 31 Jul 2025 14:29:13 +0800 Subject: [PATCH] fix: OnGeolocationShow InvokeSync Signed-off-by: hxf233333 --- .../interfaces/native/implementation/web_modifier_callbacks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/core/interfaces/native/implementation/web_modifier_callbacks.cpp b/frameworks/core/interfaces/native/implementation/web_modifier_callbacks.cpp index 4eb5c776b29..72d3db61c69 100644 --- a/frameworks/core/interfaces/native/implementation/web_modifier_callbacks.cpp +++ b/frameworks/core/interfaces/native/implementation/web_modifier_callbacks.cpp @@ -121,7 +121,7 @@ void OnGeolocationShow(const CallbackHelperwebGeolocation = eventInfo->GetWebGeolocation(); parameter.geolocation = peer; - arkCallback.Invoke(parameter); + arkCallback.InvokeSync(parameter); } void OnRequestSelected(const CallbackHelper& arkCallback, -- Gitee