dispose method

void dispose()
inherited

Releases the native object. Idempotent.

Implementation

void dispose() {
  _finalizer.detach(this);
  _allocation.release();
}