Danil Chapovalov 2f2049af23 Add blocking call in BandwidthStatsTest destructor
task_queue_ outlives the BandwidthStatsTest object, but Posted task
captures |this|. Blocking call in the destructor is a simple way to avoid
that race
(should work as long as posted task doesn't call virtual functions from |this|).

Bug: webrtc:10933
Change-Id: Id30badb711480af5ee737b96b9224c1a73e730ee
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158898
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29707}
2019-11-06 13:38:14 +00:00
..
2018-07-23 15:28:48 +00:00
2019-08-01 14:09:23 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00