exit method

void exit()

Implementation

void exit() {
  if (isOwner()) {
    _stop();
  } else {
    _leave();
  }
}