commit | 8bd173472a9d6f46bd465633318d24ac4d4534de | [log] [tgz] |
---|---|---|
author | Bill Orr <billorr@chromium.org> | Thu Jul 26 22:05:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 26 22:05:20 2018 |
tree | c3c26f9c6e664ca2ae1bf8787debb2743e5b7b25 | |
parent | 27b66e586302ef9f8b71a7e7d22e07b29570cec0 [diff] |
Fix some thread cleanup issues that can cause crashes or DCHECKs. OpenVR and Oculus devices may be destroyed before the render loop is created. If this happens we may crash because we call render_loop_->IsRunning(). Next, if we don't call render_loop_->Stop(), the render_loop_'s bindings will be destroyed on the main thread rather than the render loop thread. BUG=868072 Cq-Include-Trybots: luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ibf12af3c38cfa8ed8edf1aebe431a3606476bba7 Reviewed-on: https://chromium-review.googlesource.com/1151952 Reviewed-by: Klaus Weidner <klausw@chromium.org> Commit-Queue: Bill Orr <billorr@chromium.org> Cr-Commit-Position: refs/heads/master@{#578455}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .