finalize method

void finalize()

Implementation

void finalize() {
  ForeignInterfaceSkel._handlers.remove(_handle.address);
  calloc.free(_handle);
  _finalizer.detach(this);
}