void release(int pointer)

Releases a hold, allowing the arena to be swept.

If a sweep was attempted on a held arena, the sweep will be done on release.

See also:

Source

void release(int pointer) {
  _GestureArena state = _arenas[pointer];
  if (state == null)
    return;  // This arena either never existed or has been resolved.
  state.isHeld = false;
  if (state.hasPendingSweep)
    sweep(pointer);
}