exit method

void exit()

alert this, dont exit all queue

Implementation

void exit() {
  if (_memory.length > 1) {
    _memory.removeFirst();
  }
}