public override void DeInitPlugin() { _shortkeyManager?.Dispose(); _shortkeyManager = null; _windowsMessagePump.Dispose(); OverlayWPF?.Close(); ActGlobals.oFormActMain.OnLogLineRead -= OFormActMain_OnLogLineRead; TranslateService.Stop(); UpdateChecker.Stop(); if (_settingsLoaded) { Settings?.Save(); } StatusLabel.Text = "Exited. Bye~"; }
public override void DeInitPlugin() { _gameProcessMonitor.Stop(); MachinaService.Stop(); _shortkeyManager?.Dispose(); _shortkeyManager = null; _windowsMessagePump.Dispose(); OverlayWPF?.Close(); _networkProbe.Stop(); UpdateChecker.Stop(); if (_settingsLoaded) { Settings?.Save(); } StatusLabel.Text = "Exited. Bye~"; }