Пример #1
0
 public void LieaveOn()
 {
     if (!ReferenceEquals(app, null))
     {
         app.leave();
         app.unloadEngine();
         app = null;
     }
 }
Пример #2
0
 private void onLeaveButtonClicked()
 {
     if (!ReferenceEquals(app, null))
     {
         app.leave();            // leave channel
         app.unloadEngine();     // delete engine
         app = null;             // delete app
         //VideoTimer.timer = 0f;
         //VideoTimer.isStarted = false;
     }
 }