destroy method

void destroy(
  1. Pointer<Void> handle
)

Implementation

void destroy(Pointer<Void> handle) {
  if (handle == nullptr) return;
  _destroyFn(handle);
}