release method

void release()

Returns the slot to the pool. Never closes it: the C layer may still hold nativeFunction and there is no way to ask it to forget.

Implementation

void release() {
  _completer = null;
  _nc.keepIsolateAlive = false;
  _free.addLast(this);
}