diff src/org/tmatesoft/hg/core/RepositoryTreeWalker.java @ 92:bf304cb14247

Just in case mediator does anything to visitor on done()
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 27 Jan 2011 06:31:58 +0100
parents 6f1b88693d48
children a3a2e5deb320
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Thu Jan 27 06:06:42 2011 +0100
+++ b/src/org/tmatesoft/hg/core/RepositoryTreeWalker.java	Thu Jan 27 06:31:58 2011 +0100
@@ -87,8 +87,8 @@
 			mediator.start();
 			repo.getManifest().walk(startRev, endRev, mediator);
 		} finally {
+			mediator.done();
 			visitor = null;
-			mediator.done();
 		}
 	}