webrtc/rtc_base/task_utils
Danil Chapovalov 0f9a8e33c0 Make stopping of the RepeatingTask safer
Previous implementation assumes that though RepeatingTask is owned by
the task queue, it will stay alive until RepeatingTaskHandler stops it.
That assumption doesn't hold by one of downstream TaskQueue implementaions.
That TaskQueue implementation shortly before destruction deletes
pending delayed tasks because it doesn't plan to run them,
and then runs remaining regular tasks.

Bug: None
Change-Id: Ic95fec2e9961b3f05727ff6fbdaf0664434a995b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/221984
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34274}
2021-06-11 21:54:54 +00:00
..
BUILD.gn Make stopping of the RepeatingTask safer 2021-06-11 21:54:54 +00:00
pending_task_safety_flag.cc Simplify reference counting implementation of PendingTaskSafetyFlag. 2021-04-21 07:04:01 +00:00
pending_task_safety_flag.h Simplify reference counting implementation of PendingTaskSafetyFlag. 2021-04-21 07:04:01 +00:00
pending_task_safety_flag_unittest.cc Add support for setting the initial state to the pending task flag. 2021-04-19 16:00:25 +00:00
repeating_task.cc Make stopping of the RepeatingTask safer 2021-06-11 21:54:54 +00:00
repeating_task.h Make stopping of the RepeatingTask safer 2021-06-11 21:54:54 +00:00
repeating_task_unittest.cc Make stopping of the RepeatingTask safer 2021-06-11 21:54:54 +00:00
to_queued_task.h Delete rtc::Bind 2021-01-29 08:24:43 +00:00
to_queued_task_unittest.cc Remove the PendingTaskSafetyFlag::Pointer type add ScopedTaskSafety. 2020-05-13 14:17:39 +00:00