destroy method

  1. @override
void destroy()
override

Destroys the resolver and frees the stream info buffer. If the resolver is already destroyed, this method does nothing.

Implementation

@override
void destroy() {
  if (destroyed) {
    return;
  }

  if (_resolver != null) {
    lsl_destroy_continuous_resolver(_resolver!);
    _resolver = null;
  }
  super.destroy();
}