Closed Bug 794733 Opened 12 years ago Closed 12 years ago

TabChild lives until shutdown due to observer service

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 794600

People

(Reporter: drs, Unassigned)

References

Details

>@@ -1389,16 +1715,19 @@ TabChild::InitRenderingState()
> 
>     if (observerService) {
>         observerService->AddObserver(this,
>                                      "cancel-default-pan-zoom",
>                                      false);
>         observerService->AddObserver(this,
>                                      "browser-zoom-to-rect",
>                                      false);
>+        observerService->AddObserver(this,
>+                                     "before-first-paint",
>+                                     false);
>     }

Due to this code (specifically all the AddObserver calls), TabChild will live until shutdown. Fennec's browser.js prevents this by unregistering observers. We have to do the same.
See Also: → 794600
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
See Also: 794600
See Also: → 746502
You need to log in before you can comment on or make changes to this bug.