コード例 #1
0
 protected override void OnDisable()
 {
     if (AppQuits)
     {
         this.CleanUp();
         SupportClass.StopAllBackgroundCalls();
     }
 }
コード例 #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();
 }
コード例 #3
0
 protected override void OnApplicationQuit()
 {
     this.CleanUp();
     SupportClass.StopAllBackgroundCalls();
 }