protected override void OnDisable()
 {
     if (AppQuits)
     {
         this.CleanUp();
         SupportClass.StopAllBackgroundCalls();
     }
 }
Example #2
0
 protected override void OnApplicationQuit()
 {
     if (this.Logger.IsInfoEnabled)
     {
         this.Logger.LogInfo("VoiceConnection.OnApplicationQuit() Client exists: {0} this.GetType(): {1}", this.Client != null, this.GetType());
     }
     this.StopFallbackSendAckThread();
     if (this.Client != null)
     {
         this.Client.Disconnect();
         this.Client.LoadBalancingPeer.StopThread();
     }
     SupportClass.StopAllBackgroundCalls();
 }
Example #3
0
 protected override void OnApplicationQuit()
 {
     this.CleanUp();
     SupportClass.StopAllBackgroundCalls();
 }