diff --git a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/IOSVideoView.as b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/IOSVideoView.as index 3b18588dd740a64869ec0c7cd430d942d0c9bcd8..d7f29e46f3f05ade3daba5c73d893cb55f01363d 100755 --- a/clients/flash/air-client/src/org/bigbluebutton/air/common/views/IOSVideoView.as +++ b/clients/flash/air-client/src/org/bigbluebutton/air/common/views/IOSVideoView.as @@ -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;