Fix GLController shutdown

RESOLVED FIXED in Firefox 46

Status

()

defect
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jchen, Assigned: jchen)

Tracking

unspecified
mozilla46
All
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox46 fixed)

Details

Attachments

(1 attachment)

GLController doesn't shut down properly right now on nsWindow closing, which can lead to crashes.
When nsWindow closes, notify GLController to shut down. To ensure any
pending calls on the UI thread are processed first, post a Runnable to
the UI thread that disposes the GLController on the UI thread.
Attachment #8703861 - Flags: review?(snorp)
Attachment #8703861 - Flags: review?(snorp) → review+

Comment 3

4 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4b8f5864223f
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.