dispose method

void dispose()

Implementation

void dispose() {
  _subscription.cancel();
  ffi.calloc.free(_events);
}