public override void OnApplicationStopped(OnApplicationStoppedEventArgs args) { // Add code to be executed when Playnite is shutting down. //needs to be sync or won't speak out full text before quiting DoSpeak(Settings.Settings.SpeakApplicationStoppedText, Settings.Settings.SpeakApplicationStopped, false); try { Speak.SpeakAsyncCancelAll(); Speak.Dispose(); } catch (Exception E) { logger.Error(E, "OnApplicationStopped"); PlayniteApi.Dialogs.ShowErrorMessage(E.ToString(), Constants.AppName); } }
public override void OnApplicationStopped(OnApplicationStoppedEventArgs args) { // Add code to be executed when Playnite is shutting down. }
// Add code to be executed when Playnite is shutting down. public override void OnApplicationStopped(OnApplicationStoppedEventArgs args) { }
/// <summary> /// Called when appliaction is stutting down. /// </summary> public virtual void OnApplicationStopped(OnApplicationStoppedEventArgs args) { }