Closed Bug 207306 Opened 23 years ago Closed 21 years ago

plugin host should be destroyed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rather than on "quit-application"

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterlubczynski-bugs, Assigned: Callek)

References

()

Details

Attachments

(1 file, 1 obsolete file)

This bug comes from the review of the patch in bug 159445, comment #8 which says that we should clean up cached services (i.e. the call to ::Destroy) on xpcom shutdown (NS_XPCOM_SHUTDOWN_OBSERVER_ID) rather than quit-application because it's a better-defined topic (i.e. its kind of a frozen topic, rather than quit-application which may or may not fire in embedded environments).
Should the quit-application observation do anything after this bug is fixed, also should destroy be called before or after the current XPCOM Shutdown call?
this object should not be registered for that notification as part of the fix for this bug.
Assignee: peterlubczynski-bugs → 116057
Attachment #178831 - Flags: superreview?(jst)
Attachment #178831 - Flags: review?(jst)
Comment on attachment 178831 [details] [diff] [review] remove "quit-application" don't register for the event :)
Attachment #178831 - Flags: superreview?(jst)
Attachment #178831 - Flags: review?(jst)
Attachment #178831 - Flags: review-
This actually removes the AddObserver for it as well.
Attachment #181065 - Flags: superreview?(jst)
Attachment #181065 - Flags: review?(jst)
Comment on attachment 181065 [details] [diff] [review] remove "quit-application" [correctly] r+sr=jst
Attachment #181065 - Flags: superreview?(jst)
Attachment #181065 - Flags: superreview+
Attachment #181065 - Flags: review?(jst)
Attachment #181065 - Flags: review+
Attachment #181065 - Flags: approval1.8b2?
Comment on attachment 181065 [details] [diff] [review] remove "quit-application" [correctly] a=asa
Attachment #181065 - Flags: approval1.8b2? → approval1.8b2+
Summary: plugin host should be destoryed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rarther than on "quit-application" → plugin host should be destroyed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rarther than on "quit-application"
Summary: plugin host should be destroyed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rarther than on "quit-application" → plugin host should be destroyed on Observe() "NS_XPCOM_SHUTDOWN_OBSERVER_ID" rather than on "quit-application"
Comment on attachment 181065 [details] [diff] [review] remove "quit-application" [correctly] 2005-05-01 15:28: mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp 1.524
Attachment #181065 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: