fixed state for recursive visitor interrupted by ProcessCanceledException (IDEA-55374)

This commit is contained in:
nik
2012-03-28 14:14:21 +04:00
parent 041dd68809
commit b1064c1edd
@@ -48,8 +48,12 @@ public class WalkingState<T> {
if (!startedWalking) {
stopped = false;
startedWalking = true;
walkChildren(element);
startedWalking = false;
try {
walkChildren(element);
}
finally {
startedWalking = false;
}
}
}