Closed Bug 1699209 Opened 4 years ago Closed 4 years ago

Ensure we release shmems if we exit early in WebRenderBridgeParent messages

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

Details

Attachments

(1 file)

In WebRenderBridgeParent::RecvSetDisplayList and WebRenderBridgeParent::RecvEmptyTransaction we don't release our shmems if we are destroyed before the message comes in. I'm not sure if this happens in practice, but the affected path is destroying related actors for textures/etc.

https://searchfox.org/mozilla-central/rev/1a47a74bd5ba89f2474aa27c40bd478e853f3276/gfx/layers/wr/WebRenderBridgeParent.cpp#1202
https://searchfox.org/mozilla-central/rev/1a47a74bd5ba89f2474aa27c40bd478e853f3276/gfx/layers/wr/WebRenderBridgeParent.cpp#1339

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdc2de3463eb Ensure we release shmems from messages even if WebRenderBridgeParent is destroyed. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: