destroy method

void destroy()

Implementation

void destroy() {
  if (_videoOutput) {
    _channel.invokeMethod(
      'VODispose',
      {'handle': handle},
    );
  }
  Library.libmpv.mpv_destroy(ctx);
}