diff --git a/bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java b/bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java index 11c73cf168e..e9f64c62bcb 100644 --- a/bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java +++ b/bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java @@ -247,6 +247,7 @@ public Change perform(IProgressMonitor pm) throws CoreException { throw Changes.asCoreException(e); } finally { releaseDocument(document, subMon.newChild(1)); + subMon.done(); } } @@ -310,6 +311,7 @@ public IDocument getCurrentDocument(IProgressMonitor pm) throws CoreException { } finally { releaseDocument(result, subMon.newChild(1)); } + subMon.done(); return result; }