protected override void OnExit(ExitEventArgs e) { MessagingClient.Stop(); ServiceLocator.Current.GetInstance <ITriggerService>().CloseTriggers(); }
public void Disconnect() { Reconnect = false; _messagingClient.Stop(); }