DescriptionFix memory leakage in VideoSourceHandlerTest.OpenWithoutClose
This CL is needed for landing https://codereview.chromium.org/552653005.
https://codereview.chromium.org/552653005 moves MediaStream-related objects
to Oilpan's heap, and the objects are not collected until a next GC is triggered.
Thus some of the Chromium-side tests need to clear those objects and explicitly
trigger a GC in order to make sure that all objects are collected by the end of
each test. Otherwise LSan complains the leakage.
I've already landed a similar fix before: https://codereview.chromium.org/566793002/
I think this CL is a final fix for the memory leakage.
BUG=416466
Committed: https://crrev.com/d9d5b48cddd6e7327a863cdbaac7cc365df4568c
Cr-Commit-Position: refs/heads/master@{#297145}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|