Closed
Bug 1417306
Opened 7 years ago
Closed 7 years ago
Leak pipelines of Tabs
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox59 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
(Whiteboard: [wr-mvp])
Attachments
(1 file)
(deleted),
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
Bug 1342762 addressed pipeline leaks for video and canvas. But there is still a leak of Tabs. It should be easy to address.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sotaro.ikeda.g
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8928384 -
Flags: review?(nical.bugzilla)
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Comment on attachment 8928384 [details] [diff] [review]
patch - Fix leaking pipelines of Tabs
Review of attachment 8928384 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/wr/WebRenderBridgeParent.cpp
@@ +1374,5 @@
> }
> mAsyncCompositables.Clear();
>
> mAsyncImageManager->RemovePipeline(mPipelineId, wr::NewEpoch(wrEpoch));
> + mApi->RemovePipeline(mPipelineId);
nit: it would probably be safer to also clear mPipelineId (like set it to some recognizable and know to be wrong value like 0), just to make it apparent that something's wrong if we accidentally use it again after that.
Attachment #8928384 -
Flags: review?(nical.bugzilla) → review+
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
Whiteboard: [wr-mvp] [triage] → [wr-mvp]
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #3)
> Comment on attachment 8928384 [details] [diff] [review]
> patch - Fix leaking pipelines of Tabs
>
> ::: gfx/layers/wr/WebRenderBridgeParent.cpp
> @@ +1374,5 @@
> > }
> > mAsyncCompositables.Clear();
> >
> > mAsyncImageManager->RemovePipeline(mPipelineId, wr::NewEpoch(wrEpoch));
> > + mApi->RemovePipeline(mPipelineId);
>
> nit: it would probably be safer to also clear mPipelineId (like set it to
> some recognizable and know to be wrong value like 0), just to make it
> apparent that something's wrong if we accidentally use it again after that.
mPipelineId is also used as LayersId. It seems better not to change it in this bug.
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/393eddd4e496
Fix leaking pipelines of Tabs r=nical
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•