DescriptionFixes tray_session_length_limit_unittest timeout on valgrind.
According to test runs on my machine, the test looks like suspended
after the test body finished, which seems to be waiting for
remaining timer tests. ClearSessionLengthLimit() should be called
at the end.
This also has cosmetic changes like NULL -> nullptr
BUG=454601
R=stevenjb@chromium.org
TEST=build with build_for_tool=memcheck, run ash_unittests with
valgrind, and confirmed the test finishes in realistic time
Committed: https://crrev.com/75be556f6fc83ffdac88fd6ec12f846018aa8d2b
Cr-Commit-Position: refs/heads/master@{#314386}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|