dispose method

void dispose()

Implementation

void dispose() {
  finalizer.detach(this);
  calloc.free(ptr);
}