close method

void close()

Implementation

void close() {
  if (closed) return;
  closed = true;
}