[AIR] avoid null exception in WBCanvasMediator

This commit is contained in:
Chad Pilkey 2018-03-12 23:07:51 -07:00
parent 0cf8f965cd
commit 1c244c30ea

View File

@ -102,6 +102,9 @@ package org.bigbluebutton.air.whiteboard.views {
}
private function drawAllAnnotations():void {
if (_whiteboard == null) {
return;
}
trace("++ draw draw Draw");
var annotations:Array = _whiteboard.getAnnotations();
for (var i:int = 0; i < annotations.length; i++) {