changeset 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 c2ce1cfaeb9e
children d55d4eedfc57
files src/org/tmatesoft/hg/core/RepositoryTreeWalker.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();
 		}
 	}