The indexes of the repository are not disposed with it: an index can be used without the repository or in another one. Dispose of every index that the repository creates or that is added to it; an index on disk that is not disposed keeps its folder until it is finalized, see Dispose.