Memory leak of IDirectManipulationViewport and IDirectManipulationPrimaryContent |
|||||
Issue descriptionIt looks like every time we destroy a DirectManipulationHelper we leak 4KB or so. For some reason the view_port_outer_ has 3 additional references on it (maybe some circular references?) that I don't know how to remove.
,
Aug 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d48b65a4b84e0ca652bf5ab39abaf0809ba4b6cd commit d48b65a4b84e0ca652bf5ab39abaf0809ba4b6cd Author: jbauman <jbauman@chromium.org> Date: Wed Aug 10 03:07:17 2016 Call IDirectManipulationViewport::Abandon before releasing viewport. Otherwise there's a reference cycle and about 4KB is leaked. BUG= 636176 Review-Url: https://codereview.chromium.org/2229233002 Cr-Commit-Position: refs/heads/master@{#410936} [modify] https://crrev.com/d48b65a4b84e0ca652bf5ab39abaf0809ba4b6cd/ui/gfx/win/direct_manipulation.cc
,
Aug 12 2016
,
Aug 12 2016
Your change meets the bar and is auto-approved for M53 (branch: 2785)
,
Aug 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ef2d09549e46c740f6f678396ff892816e6a513c commit ef2d09549e46c740f6f678396ff892816e6a513c Author: John Bauman <jbauman@chromium.org> Date: Fri Aug 12 23:24:52 2016 Call IDirectManipulationViewport::Abandon before releasing viewport. Otherwise there's a reference cycle and about 4KB is leaked. BUG= 636176 Review-Url: https://codereview.chromium.org/2229233002 Cr-Commit-Position: refs/heads/master@{#410936} (cherry picked from commit d48b65a4b84e0ca652bf5ab39abaf0809ba4b6cd) Review URL: https://codereview.chromium.org/2243823003 . Cr-Commit-Position: refs/branch-heads/2785@{#579} Cr-Branched-From: 68623971be0cfc492a2cb0427d7f478e7b214c24-refs/heads/master@{#403382} [modify] https://crrev.com/ef2d09549e46c740f6f678396ff892816e6a513c/ui/gfx/win/direct_manipulation.cc
,
Aug 12 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by jbau...@chromium.org
, Aug 10 2016Status: Started (was: Available)