Yves Gerey 100fe639b2 Fix race condition around rtc::ScopedFakeClock.
We make sure the fake clock is constructed first thing,
so that all subsequent calls to GetClockForTesting() are
consistent and non-racy.

This proper scoping also allows to remove some explicit
destructions which are no longer necessary.

Bug: webrtc:11282
Change-Id: Id9263617c2e2b025b17d9bcb9cd415d651405a8a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166043
Commit-Queue: Yves Gerey <yvesg@google.com>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30309}
2020-01-17 18:55:29 +00:00
..
2019-01-28 11:17:00 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-19 22:37:51 +00:00
2019-07-08 13:45:15 +00:00
2019-05-20 18:38:06 +00:00
2019-07-08 13:45:15 +00:00
2019-11-05 09:40:03 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00