Need a mechanism to unload plugin dlls safely

RESOLVED WONTFIX

Status

()

Core
Plug-ins
P2
normal
RESOLVED WONTFIX
15 years ago
4 years ago

People

(Reporter: av (gone), Assigned: Peter Lubczynski)

Tracking

Trunk
mozilla1.3beta
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [PL2:NA])

(Reporter)

Description

15 years ago
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.
(Reporter)

Updated

15 years ago
Priority: -- → P2
(Reporter)

Comment 1

15 years ago
reassigning to myself
Assignee: beppe → av

Updated

15 years ago
Target Milestone: --- → mozilla1.2alpha

Comment 2

15 years ago
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.

Updated

15 years ago
Whiteboard: [PL2:NA]
Target Milestone: mozilla1.2alpha → mozilla1.0.2

Comment 3

15 years ago
adding nsbeta1+
Keywords: nsbeta1+

Updated

15 years ago
Target Milestone: mozilla1.0.2 → mozilla1.2alpha

Updated

15 years ago
Depends on: 167474
(Reporter)

Updated

15 years ago
Target Milestone: mozilla1.2alpha → mozilla1.3alpha

Comment 4

15 years ago
moving to 1.3 beta, this should get resolved for 1.3 
Target Milestone: mozilla1.3alpha → mozilla1.3beta
(Assignee)

Comment 5

14 years ago
--->taking av's nsbeta1+ bugs
Assignee: av → peterlubczynski

Comment 6

10 years ago
Target milestone should be changed, mozilla1.3beta was a long time ago.
QA Contact: shrir → plugins
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.