When we have multiple webviews, each with its own GL context, it is possible that destroying a view (for example closing a tab in the browser) triggers destruction of the underlying LayerTreeHost with the wrong active GL context. We should make sure that we set the right context as active before destroying GL objects in LayerTreeHostGtk::invalidate. I'll attach patch shortly.
Created attachment 225031 [details] Patch
Comment on attachment 225031 [details] Patch Clearing flags on attachment: 225031 Committed r164584: <http://trac.webkit.org/changeset/164584>
All reviewed patches have been landed. Closing bug.