예제 #1
0
 private void onLogout(BaseEvent evt)
 {
     mt.ClientRoomName = null;
     if (mt.isConnected && !mt.WasTornDownImmediately)
     {
         mt.TriggerForceTeardownAfterDelay = true;
         mt.Disconnect();
     }
     else
     {
         mt.WasTornDownImmediately = false;
     }
 }