close method

void close()

Implementation

void close() {
  closed = true;
  destroy();
}