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)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: markh, Assigned: markh)
Details
Attachments
(1 file)
947 bytes,
patch
|
Details | Diff | Splinter Review |
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...
Assignee | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
actually, just make them #DEBUG_dougt, and r = me.
Comment 3•21 years ago
|
||
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
Comment 4•21 years ago
|
||
Patch flags should have been set indicating approval...
You need to log in
before you can comment on or make changes to this bug.
Description
•