Example #1
0
 public void Stop()
 {
     notifier.Dispose();
     bus?.Dispose();
     timeKeeper.Dispose();
     documentStore.Dispose();
     WebApp?.Dispose();
     container.Dispose();
 }
Example #2
0
        private void MainWindow_Closed(object sender, EventArgs e)
        {
            Log.Info("Main window closed");

            SaveProfile(_profile.UnderlyingProfile);

            _timeKeeper.Dispose();
            _trayIcon.Dispose();
        }