Closed Bug 53934 Opened 24 years ago Closed 16 years ago

xcDLL.cpp leak for m_instance

Categories

(SeaMonkey :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonsmirl, Assigned: cathleennscp)

References

()

Details

(Keywords: memory-leak)

Attachments

(1 obsolete file)

The commented out code causes the leak

nsDll::~nsDll(void)
{
#if 0
    // The dll gets deleted when the dllStore is destroyed. This happens on
    // app shutdown. At that point, unloading dlls can cause crashes if we have
    // - dll dependencies
    // - callbacks
    // - static dtors
    // Hence turn it back on after all the above have been removed.
    Unload();
#endif
Depends on: 54264
Blocks: 53933
Setting Jon Smirl's bugs to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Transferring to default XPCOM owner.
Assignee: rayw → warren
I'm adopting all of warren's leaks.
Assignee: warren → dprice
-> cathleen for a new home
Assignee: dprice → asa
Component: XPCOM → Browser-General
QA Contact: rayw → doronr
Blocks: 92580
No longer blocks: 92580
-> cathleen

Assignee: asa → cathleen
Product: Browser → Seamonkey
Comment on attachment 15568 [details] [diff] [review]
Patch to enable DLL unloading in XPCOM standalone

Bit-rotted by
<http://bonsai.mozilla.org/cvslog.cgi?file=/mozilla/xpcom/components/xcDll.cpp>
{{
1.60	dougt%netscape.com	2002-06-21 12:58	 	151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf

1.69	dougt%meer.net	2003-05-04 23:06	 	Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442
}}
Attachment #15568 - Attachment is obsolete: true
This file was removed from 1.9(.0) trunk by
{{
1.80	bsmedberg%covad.net	2005-12-02 08:34	 	Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
}}

R.Fixed.

1.8(.1) branch will stay as it is...
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Depends on: 316416
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: