[CRD iOS] Fixed a thread safety bug in GlDisplayHandler
GlDisplayHandlerCore::Initialize is posted before the Core's construction is done, so the app may crash at some point due to race condition. It crashed once in my phone when calling renderer_proxy_->Initialize() while renderer_proxy_ is not ready. Change-Id: If711b56efce2de5f7e4d0a7a883f19b2181ee31e Reviewed-on: https://chromium-review.googlesource.com/597317Reviewed-by:Scott Nichols <nicholss@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#491445}
Showing
Please register or sign in to comment