Skip to content

Commit

Permalink
Merge branch 'task/cht-1264-fix-removeChatVideoListener' into 'releas…
Browse files Browse the repository at this point in the history
…e/v5.3.0'

CHT-1264. Crash for iOS Release Candidate 14.6 and Android 13.3(241501158) (hotfix for v5.3.0)

See merge request megachat/MEGAchat!1931
  • Loading branch information
alber2510 committed May 30, 2024
2 parents 5a5f0b6 + 6e0ea59 commit 8b47dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/megachatapi_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6960,7 +6960,7 @@ void MegaChatApiImpl::removeChatVideoListener(MegaChatHandle chatid,
}
else if (videoResolution == rtcModule::VideoResolution::kHiRes || videoResolution == rtcModule::VideoResolution::kLowRes)
{
auto listeners = videoResolution == rtcModule::VideoResolution::kHiRes
auto& listeners = videoResolution == rtcModule::VideoResolution::kHiRes
? mVideoListenersHiRes
: mVideoListenersLowRes;

Expand Down

0 comments on commit 8b47dfd

Please sign in to comment.