Open
Bug 471796
Opened 16 years ago
Updated 2 years ago
nsGlobalWindows shouldn't retain objects past xpcom shutdown
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: timeless, Unassigned)
References
(Depends on 2 open bugs)
Details
Attachments
(1 file)
Currently this isn't really something nsGlobalWindow cares about, but it does happen. It's not much of an issue because we then try to call getservice during xpcom shutdown, which vetos it. w/ my changes, we have the observerservice and then *it* complains. gklayout!nsGlobalWindow::~nsGlobalWindow gklayout!nsGlobalChromeWindow::~nsGlobalChromeWindow gklayout!nsGlobalChromeWindow::`scalar deleting destructor' gklayout!nsGlobalWindow::Release gklayout!nsGlobalChromeWindow::Release xpcom_core!nsXPCOMCycleCollectionParticipant::Unroot xpcom_core!nsCycleCollector::CollectWhite xpcom_core!nsCycleCollector::FinishCollection xpcom_core!nsCycleCollector_finishCollection xpc3250!XPCCycleCollectGCCallback js3250!js_GC js3250!JS_GC xpc3250!nsXPConnect::Collect xpcom_core!nsCycleCollector::Collect xpcom_core!nsCycleCollector::Shutdown xpcom_core!nsCycleCollector_shutdown xpcom_core!NS_ShutdownXPCOM_P xul!ScopedXPCOMStartup::~ScopedXPCOMStartup xul!XRE_main with these changes, the objects are essentially empty shells. i'm testing w/ thunderbird(against mozilla-central) just running thunderbird -no-remote -P and canceling the profile manager.
Attachment #355049 -
Flags: review?(jst)
Comment 1•12 years ago
|
||
Comment on attachment 355049 [details] [diff] [review] release window contents at shutdown before cycle collecting Clearing out old reviews. If this is still relevant, please re-request review for this patch.
Attachment #355049 -
Flags: review?(jst)
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•