Skip to content
Snippets Groups Projects
Commit 0e2ebe9a authored by Ghazi Triki's avatar Ghazi Triki
Browse files

Fix IOSVideoView children check.

parent 9bb392fd
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ package org.bigbluebutton.air.common.views {
player.removeEventListener(BBBRtmpPlayerEvent.CONNECTION_FAILED, onConnectionFailed);
player.removeEventListener(BBBRtmpPlayerEvent.DISCONNECTED, onDisconnected);
}
if (getChildAt(0) == image) {
if (numChildren > 0 && getChildAt(0) == image) {
removeChild(image);
}
videoComp = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment