Fix crash in screencast error handling.
This commit is contained in:
		
							parent
							
								
									95f7704d14
								
							
						
					
					
						commit
						46dfde881a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -1122,6 +1122,10 @@ void GroupCall::markTrackShown(const VideoEndpoint &endpoint, bool shown) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void GroupCall::markTrackPaused(const VideoEndpoint &endpoint, bool paused) {
 | 
					void GroupCall::markTrackPaused(const VideoEndpoint &endpoint, bool paused) {
 | 
				
			||||||
 | 
						if (!endpoint) {
 | 
				
			||||||
 | 
							return;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const auto i = _activeVideoTracks.find(endpoint);
 | 
						const auto i = _activeVideoTracks.find(endpoint);
 | 
				
			||||||
	Assert(i != end(_activeVideoTracks));
 | 
						Assert(i != end(_activeVideoTracks));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue