public virtual void Quit() { foreach (RepoBase repo in Repositories) repo.Dispose(); folderLock.Dispose(); Logger.Info("Exiting."); Environment.Exit(0); }