Fix crash in screencast error handling.

This commit is contained in:
John Preston 2021-06-11 19:19:50 +04:00
parent 95f7704d14
commit 46dfde881a

View file

@ -1122,6 +1122,10 @@ void GroupCall::markTrackShown(const VideoEndpoint &endpoint, bool shown) {
}
void GroupCall::markTrackPaused(const VideoEndpoint &endpoint, bool paused) {
if (!endpoint) {
return;
}
const auto i = _activeVideoTracks.find(endpoint);
Assert(i != end(_activeVideoTracks));