Closed
Bug 873764
Opened 11 years ago
Closed 11 years ago
Add assert to ~nsCycleCollector() that mRunner is null
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(1 file)
887 bytes,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
If you forget to call shutdown threads, mRunner is non-null when you destroy the collector, and you get a small leak. With the assertion, this is easier to diagnose. MOZ_ASSERT(!mRunner, "Destroying cycle collector without destroying its runner, may leak");
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #751750 -
Flags: review?(khuey)
Attachment #751750 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2741e5cccc8c
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2741e5cccc8c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•