/// <summary> /// Application closing, shutdown the SIP, Google Voice and STUN clients. /// </summary> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { foreach (var sipClient in _sipClients) { sipClient.Shutdown(); } _sipTransportManager.Shutdown(); _stunClient?.Stop(); }
/// <summary> /// Application closing, shutdown the SIP, Google Voice and STUN clients. /// </summary> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { _mediaManager.Close(); _sipClient.Shutdown(); if (_stunClient != null) { _stunClient.Stop(); } }