mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1268122 - Guard against layerview destruction between the compositor update task being posted and it running. r=snorp a=ritu
MozReview-Commit-ID: HJIFbcduj6E
This commit is contained in:
parent
891b51bee8
commit
535c7568c4
@ -142,6 +142,10 @@ public class GLController extends JNIObject {
|
||||
void updateCompositor() {
|
||||
ThreadUtils.assertOnUiThread();
|
||||
|
||||
if (mView == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mCompositorCreated) {
|
||||
// If the compositor has already been created, just resume it instead. We don't need
|
||||
// to block here because if the surface is destroyed before the compositor grabs it,
|
||||
|
Loading…
Reference in New Issue
Block a user