暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PlasticShutdown.cs 714B

123456789101112131415161718192021222324252627
  1. using Codice.Client.Common.FsNodeReaders;
  2. using Codice.CM.Common;
  3. using Codice.LogWrapper;
  4. using PlasticPipe.Client;
  5. namespace Unity.PlasticSCM.Editor
  6. {
  7. internal static class PlasticShutdown
  8. {
  9. internal static void Shutdown()
  10. {
  11. mLog.Debug("Shutdown");
  12. WorkspaceInfo wkInfo = FindWorkspace.InfoForApplicationPath(
  13. ApplicationDataPath.Get(), PlasticGui.Plastic.API);
  14. WorkspaceFsNodeReaderCachesCleaner.Shutdown();
  15. PlasticPlugin.Shutdown();
  16. PlasticApp.Dispose(wkInfo);
  17. ClientConnectionPool.Shutdown();
  18. }
  19. static readonly ILog mLog = PlasticApp.GetLogger("PlasticShutdown");
  20. }
  21. }