Tomas Gunnarsson 1e40a0cabd Remove asyncinvoker from PeerConnection.
The callback that the asyncinvoker was being used for, will now use
a safety flag to check if call_ is valid before issuing calls.
Using the flag is a step towards removing the call_ptr_ variable
but in this CL we're just looking at replacing use of the async invoker.

The safety flag is cleared at the same time as call_ is, which prevents
pending callbacks for that call instance from running.

Also adding TODOs related to this change that will be
followed upon in other CLs.

Bug: webrtc:11988, webrtc:11992, webrtc:11993
Change-Id: If3986758af6d01d39b2db0cce82e57fc48be9d7f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185508
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32208}
2020-09-28 11:56:59 +00:00
..
2019-01-28 11:17:00 +00:00
2020-07-07 18:25:09 +00:00
2020-01-22 20:46:52 +00:00
2019-07-08 13:45:15 +00:00
2020-02-25 14:45:04 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-07-07 18:25:09 +00:00
2019-11-05 09:40:03 +00:00
2020-07-15 20:45:13 +00:00
2020-07-15 20:45:13 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00