free method

void free()

Implementation

void free() {
  detach();
  if (_ref != nullptr) {
    calloc.free(_ref);
  }
  _callAsConstructorNC?.close();
  _callAsFunctionNC?.close();
  _bytesDeallocatorNC?.close();
}