Closed Bug 899325 Opened 11 years ago Closed 11 years ago

Close sCompositorChild when shutting down

Categories

(Core :: Graphics: Layers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 845982

People

(Reporter: joe, Assigned: joe)

References

Details

Attachments

(1 file)

Attached patch close-compositorSplinter Review
Looks like we had some problems that needed to be solved, but they mostly were solved, and so now we should just be able to close sCompositorChild (correctly killing the protocols, subprotocols, etc) when we need to.

https://tbpl.mozilla.org/?tree=Try&rev=73487d37e7af
Attachment #782794 - Flags: review?(bgirard)
You might want to run this also on Android/B2G debug but certainly Mac OMTC will catch the most obvious problems.
Comment on attachment 782794 [details] [diff] [review]
close-compositor

Review of attachment 782794 [details] [diff] [review]:
-----------------------------------------------------------------

::: widget/xpwidgets/nsBaseWidget.cpp
@@ +150,5 @@
>  static void DeferredDestroyCompositor(CompositorParent* aCompositorParent,
>                                CompositorChild* aCompositorChild)
>  {
>      // Bug 848949 needs to be fixed before
>      // we can close the channel properly

Lets also remove the comment.
Attachment #782794 - Flags: review?(bgirard) → review+
This patch is wrong, but bug 845982 is right and does the same thing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: