Closed Bug 1002451 Opened 10 years ago Closed 9 years ago

Replace ImageBridgeChild::DipatchRelease*** by a mechanism based on Finalize

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: nical, Assigned: nical)

Details

since the destruction of TextureClient and CompositableClient may generate some IPDL traffic, we have code that lets us explicitly dispatch Release() call to the ImageBridgeChild thread. This is very error prone and we have better tools to deal with this.

Let's remove the two explicit Dispatch method and handle dispatching to the right thread in TextureClient::Finalize and CompositableClient::Finalize (the later needs to be added), so that the explicit AddRef and Release are in the same place and to not expose this threading detail to users of TextureClient/CompsoitableClient.
That code doesn't exist anymore
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.