destroy method

void destroy()

Implementation

void destroy() {
  log('[destroy]', TAG);
  logout();

  _clearConnection();
  _setConnectionState(CubeChatConnectionState.Idle);
}