Closed Bug 153001 Opened 22 years ago Closed 11 years ago

Need a mechanism to unload plugin dlls safely

Categories

(Core Graveyard :: Plug-ins, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla1.3beta

People

(Reporter: serhunt, Assigned: peterlubczynski-bugs)

References

Details

(Whiteboard: [PL2:NA])

This bug can be considered an independent task or as an action item for the
future development work.

XPConnected plugins need some special treatment when we decide to shut them down
and unload their dlls from memory. XPCOM may have outstanding references to the
plugin scriptable object and currently we don't have a reliable way to determine
when all plugin related ref counts get down to zero and the dll can be unloaded.

I think there can be different approaches to address the issue, we can probably
briefly exchange ideas here.
Priority: -- → P2
reassigning to myself
Assignee: beppe → av
Target Milestone: --- → mozilla1.2alpha
Only unload these plugins when XPCOM broadcasts the shutdown notification.  Also
we need to ensure that developers of these plugins get the message that after
this notification all outstanding refereces to mozilla are invalid.
Whiteboard: [PL2:NA]
Target Milestone: mozilla1.2alpha → mozilla1.0.2
adding nsbeta1+
Keywords: nsbeta1+
Target Milestone: mozilla1.0.2 → mozilla1.2alpha
Depends on: 167474
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
moving to 1.3 beta, this should get resolved for 1.3 
Target Milestone: mozilla1.3alpha → mozilla1.3beta
--->taking av's nsbeta1+ bugs
Assignee: av → peterlubczynski
Target milestone should be changed, mozilla1.3beta was a long time ago.
QA Contact: shrir → plugins
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.