Index: webrtc/pc/webrtcsession.cc |
diff --git a/webrtc/pc/webrtcsession.cc b/webrtc/pc/webrtcsession.cc |
index 1134c249391c2f75a1a7871d05e9a50f65a1c5e4..2c7e9a462b6137f96dd2178591d1ed8eeb914449 100644 |
--- a/webrtc/pc/webrtcsession.cc |
+++ b/webrtc/pc/webrtcsession.cc |
@@ -1901,7 +1901,8 @@ Call::Stats WebRtcSession::GetCallStats() { |
return worker_thread()->Invoke<Call::Stats>( |
RTC_FROM_HERE, rtc::Bind(&WebRtcSession::GetCallStats, this)); |
} |
- RTC_DCHECK(call_); |
+ if (!call_) |
+ return Call::Stats(); |
return call_->GetStats(); |
} |