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)
Core
DOM: Core & HTML
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.
Reporter | ||
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•