Don'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 Review URL: https://codereview.chromium.org/409113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284868 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment