protected override void OnDisable() { if (AppQuits) { this.CleanUp(); SupportClass.StopAllBackgroundCalls(); } }
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(); }
protected override void OnApplicationQuit() { this.CleanUp(); SupportClass.StopAllBackgroundCalls(); }