removeRenderer method

Future<void> removeRenderer()

Disposes the renderer of this Track.

Implementation

Future<void> removeRenderer() async {
  Log.debug('removeRenderer() for $kind-$source', '$runtimeType');

  await _rendererGuard.protect(() async {
    renderer.value?.dispose();
    renderer.value = null;
  });
}