Closed Bug 109199 Opened 23 years ago Closed 21 years ago

Bogus assertion when adding observer as a strong reference when the object supports weak references.

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: markh, Assigned: markh)

Details

Attachments

(1 file)

See comment in bug 99163. If your object supports weak references, but you pass |false| as the |ownsWeak| param to nsIObserverService.addObserver, an assertion fires. This means that in debug builds, you can never add an object supporting weak references as a strong reference. Patch coming...
actually, just make them #DEBUG_dougt, and r = me.
Was checked in long a go 3.21 <alecf@netscape.com> 27 Nov 2001 15:52
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Patch flags should have been set indicating approval...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: