mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 22:59:45 +00:00
commit
926ad040fe
@ -317,7 +317,9 @@ std::shared_ptr<AppExecFwk::EventHandler> JsKeyboardPanelManager::GetEventHandle
|
||||
return handler_;
|
||||
}
|
||||
std::lock_guard<std::mutex> lock(eventHandlerMutex_);
|
||||
if (handler_ == nullptr) {
|
||||
handler_ = AppExecFwk::EventHandler::Current();
|
||||
}
|
||||
return handler_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user