コード例 #1
0
        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~";
        }
コード例 #2
0
        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~";
        }