hbos
b78306a7d3
Fix segfault when PeerConnection is destroyed during stats collection.
...
RTCStatsCollector relies on PeerConnection and its WebRtcSession. If the
PeerConnection is destroyed, reference counting keeps the
RTCStatsCollector alive until the request has completed. But the request
is using PeerConnection/WebRtcSession resources that are destroyed in
~PeerConnection().
To get around this problem, RTCStatsCollector::WaitForPendingRequest()
is added, which is invoked at ~PeerConnection().
Integration test added, it caused a segmentation fault before this
change / EXPECT failure.
BUG=chromium:627816
Review-Url: https://codereview.webrtc.org/2583613003
Cr-Commit-Position: refs/heads/master@{#15674}
2016-12-19 13:06:57 +00:00
..
2016-12-06 12:29:45 +00:00
2016-11-18 10:03:08 +00:00
2016-12-19 09:13:46 +00:00
2016-12-15 14:17:15 +00:00
2016-12-19 12:58:02 +00:00
2016-12-02 12:01:21 +00:00
2016-03-23 07:34:01 +00:00
2016-05-15 02:44:18 +00:00
2016-12-19 09:13:46 +00:00
2016-11-14 09:41:56 +00:00
2016-11-14 09:41:56 +00:00
2016-11-14 09:41:56 +00:00
2016-11-24 09:18:00 +00:00
2016-12-07 12:53:04 +00:00
2016-10-28 20:53:17 +00:00
2016-06-10 21:17:33 +00:00
2016-04-29 13:09:23 +00:00
2016-02-10 15:54:53 +00:00
2016-03-01 20:42:08 +00:00
2016-10-05 18:47:39 +00:00
2016-02-10 15:54:53 +00:00
2016-03-14 18:59:34 +00:00
2016-03-14 18:59:34 +00:00
2016-03-14 18:59:34 +00:00
2016-10-24 08:21:24 +00:00
2016-10-24 08:21:24 +00:00
2016-10-24 08:21:24 +00:00
2016-03-04 10:51:44 +00:00
2016-12-11 10:18:00 +00:00
2016-05-15 02:44:18 +00:00
2016-04-12 06:25:34 +00:00
2016-12-11 10:18:00 +00:00
2016-12-11 10:18:00 +00:00
2016-12-07 12:53:04 +00:00
2016-10-07 18:53:15 +00:00
2016-10-01 05:29:53 +00:00
2016-02-10 15:54:53 +00:00
2016-04-29 13:09:23 +00:00
2016-12-16 23:39:11 +00:00
2016-02-10 15:54:53 +00:00
2016-02-10 15:54:53 +00:00
2016-04-15 10:49:13 +00:00
2016-03-24 10:16:23 +00:00
2016-12-16 23:39:11 +00:00
2016-02-10 15:54:53 +00:00
2016-11-22 09:26:22 +00:00
2016-12-19 12:10:30 +00:00
2016-12-19 13:06:57 +00:00
2016-11-17 03:42:09 +00:00
2016-11-28 15:23:20 +00:00
2016-12-13 13:17:31 +00:00
2016-12-13 22:06:35 +00:00
2016-12-13 22:06:35 +00:00
2016-07-04 14:07:03 +00:00
2016-12-13 02:49:40 +00:00
2016-12-19 12:10:30 +00:00
2016-11-17 03:42:09 +00:00
2016-10-01 05:29:53 +00:00
2016-06-10 21:17:33 +00:00
2016-07-13 21:13:56 +00:00
2016-07-13 21:13:56 +00:00
2016-07-13 21:13:56 +00:00
2016-08-05 18:14:54 +00:00
2016-08-05 18:14:54 +00:00
2016-08-05 18:14:54 +00:00
2016-06-27 23:30:45 +00:00
2016-08-31 14:33:14 +00:00
2016-12-19 13:06:57 +00:00
2016-12-19 12:58:02 +00:00
2016-12-19 13:06:57 +00:00
2016-12-19 13:06:57 +00:00
2016-06-22 07:46:19 +00:00
2016-12-07 18:36:49 +00:00
2016-06-27 23:30:45 +00:00
2016-06-27 23:30:45 +00:00
2016-12-16 23:39:11 +00:00
2016-12-16 23:39:11 +00:00
2016-06-06 21:27:43 +00:00
2016-12-16 23:39:11 +00:00
2016-11-08 10:05:36 +00:00
2016-03-30 13:43:44 +00:00
2016-03-20 13:15:48 +00:00
2016-12-19 12:58:02 +00:00
2016-12-19 12:58:02 +00:00
2016-11-04 18:38:19 +00:00
2016-12-12 12:46:27 +00:00
2016-12-15 11:54:52 +00:00
2016-02-10 15:54:53 +00:00
2016-10-05 18:47:39 +00:00
2016-11-11 11:55:19 +00:00
2016-10-24 07:22:39 +00:00
2016-09-06 09:25:11 +00:00
2016-11-11 11:55:19 +00:00
2016-11-11 11:55:19 +00:00
2016-12-16 23:39:11 +00:00
2016-12-16 23:39:11 +00:00
2016-11-11 11:55:19 +00:00
2016-11-11 11:55:19 +00:00
2016-12-14 00:37:16 +00:00
2016-12-14 00:37:16 +00:00
2016-03-14 18:59:34 +00:00
2016-12-19 12:58:02 +00:00
2016-12-19 12:58:02 +00:00
2016-12-19 12:58:02 +00:00
2016-12-10 21:15:39 +00:00
2016-07-11 11:10:14 +00:00