Closed
Bug 1228456
Opened 10 years ago
Closed 10 years ago
MessagePortService leak
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla46
People
(Reporter: jruderman, Assigned: baku)
Details
(Keywords: memory-leak, testcase)
Attachments
(3 files)
1. Run with XPCOM_MEM_LEAK_LOG=2
2. Load the testcase
3. Quit
Result: trace-refcnt reports leaks
| Reporter | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8705192 -
Flags: review?(bugs)
| Assignee | ||
Comment 3•10 years ago
|
||
We must close the MP in case the connecting runnable is not dispatched.
Updated•10 years ago
|
Attachment #8705192 -
Flags: review?(bugs) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8705192 [details] [diff] [review]
leak.patch
>+++ b/dom/workers/WorkerPrivate.cpp
>@@ -1594,16 +1594,23 @@ private:
> ~MessagePortRunnable()
>+
>+ NS_IMETHOD
>+ Cancel()
>+ {
This was missing an "override" annotation, and causes recent-clang bustage as a result. (the warning in bug 1117034)
baku, mind pushing a followup to fix that?
Flags: needinfo?(amarchesini)
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(amarchesini)
Comment 7•10 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2004e4a39e41
https://hg.mozilla.org/mozilla-central/rev/3129da8cf850
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → amarchesini
You need to log in
before you can comment on or make changes to this bug.
Description
•