Closed
Bug 746541
Opened 13 years ago
Closed 13 years ago
Assert that nsXPConnect::ReleaseXPConnectSingleton removes last reference to nsXPConnect
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: espindola, Assigned: espindola)
Details
Attachments
(1 file)
1.65 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
The debug code in nsXPConnect::ReleaseXPConnectSingleton expects it is the one to remove the last reference to nsXPConnect. Unfortunately, this is not the case right now, but it is easy to fix.
This patch fixes it and adds an assert to make the assumption explicit.
https://tbpl.mozilla.org/?tree=Try&rev=e4087eb0fe8d
Assignee: nobody → respindola
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Attachment #616100 -
Flags: review?(benjamin)
Updated•13 years ago
|
Attachment #616100 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 2•13 years ago
|
||
The assert found an existing leak in xpcshell-tests. I pushed with out the assert to
https://tbpl.mozilla.org/?tree=Birch&rev=0808c7e0388e
We can enable the assert once billm fixes the leak
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in
before you can comment on or make changes to this bug.
Description
•