if (control != null)
control.stop();
}
}
public void dispose() {
<BUG>clearControllerList();
canvas.dispose();
scene.dispose(); // view is disposed by scene</BUG>
canvas = null;
scene = null;

if (control != null)
control.stop();
}
}
public void dispose() {
clearControllerList();
if(canvas!=null)
canvas.dispose();
if(scene!=null)
scene.dispose(); // view is disposed by scene
canvas = null;
scene = null;
