Closed Bug 1426351 Opened 2 years ago Closed 2 years ago

WindowSurfaceWayland - delete WaylandDisplay owned by compositor thread at compositor thread

Categories

(Core :: Widget: Gtk, enhancement, P2)

All
Linux
enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

WindowSurfaceWayland can be destroyed from main thread even though we was created/used in compositor thread.

We have to unref/delete WaylandDisplay at compositor thread then and we can't use MessageLoop::current() to post the display remove task.
Comment on attachment 8937960 [details]
Bug 1426351 - WindowSurfaceWayland - delete WaylandDisplay owned by compositor thread at compositor thread,

https://reviewboard.mozilla.org/r/208674/#review214834
Attachment #8937960 - Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/3294f56c46c2
WindowSurfaceWayland - delete WaylandDisplay owned by compositor thread at compositor thread, r=jhorak
https://hg.mozilla.org/mozilla-central/rev/3294f56c46c2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.