Move detachGLFunctor call before hardware teardown.
By not detaching the GL functor until after the teardown, we ran the risk of stray draw calls occurring that could potentially reinitialize the hardware renderer, causing the SharedRendererState destructor to DCHECK. BUG= Review URL: https://codereview.chromium.org/920083002 Cr-Commit-Position: refs/heads/master@{#316222}
Showing
Please register or sign in to comment