DescriptionDon't rely only on __del__ to cleanup PowerMetric when Smoothness.DidRunActions is not called.
Now, CleanUpAfterPage will also do the cleanup. (This is not a great
solution, but it will unblock the other patch without re-engineering
the whole resource cleanup mechanisms.)
In my other patch, the order of GC changes somehow (not sure yet why),
which caused SmoothnessUnitTest to fail since __del__ is not called
before the next test starts.
BUG=350841, 348271
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284868
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make unit tests nicer! #
Messages
Total messages: 12 (0 generated)
|