/// <summary> /// Event called when the form is closing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ClosingForm(object sender, EventArgs e) { Tcb?.Stop(); WatcherThread?.Abort(); // Save all configs SaveTwitchConfig(); SaveQuoteConfig(); SaveMaoubotConfig(); SaveEmoteDatabase(); }