!1318 fix 窗口destroy移除vsync问题

Merge pull request !1318 from liuqi/lq_0714_dev
This commit is contained in:
openharmony_ci
2022-08-08 09:01:37 +00:00
committed by Gitee
-1
View File
@@ -84,7 +84,6 @@ void WindowInputChannel::Destroy()
std::lock_guard<std::mutex> lock(mtx_);
WLOGFI("Destroy WindowInputChannel, windowId:%{public}u", window_->GetWindowId());
isAvailable_ = false;
VsyncStation::GetInstance().RemoveCallback();
}
bool WindowInputChannel::IsKeyboardEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent) const