@Override
  public void dispose() {
    LOG.debug("disposed");

    VcsActivator activator;
    synchronized (myUpdateLock) {
      Disposer.dispose(myFilePointerDisposable);
      myMappings = Collections.emptyList();
      myMappedRoots = Collections.emptyList();
      myMappedRootsMapping = new RootMapping(Collections.emptyList());
      myMappedRootShortNames = Collections.emptyMap();
      myFilePointerDisposable = Disposer.newDisposable();

      List<AbstractVcs> oldVcses = myActiveVcses;
      myActiveVcses = Collections.emptyList();

      activator = new VcsActivator(Collections.emptyList(), oldVcses);
    }
    activator.activate();
  }
@Override
  public void dispose()