dispose method

bool dispose()

Release the resources associated with this source.

Implementation

bool dispose() {
  obslib.deleteScene(pointer!);
  removeAllSceneItems();
  pointer = null;
  _sceneCount--;
  return true;
}