mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] flush when indexing ends in a finally block
This commit is contained in:
+2
-4
@@ -585,6 +585,8 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable {
|
||||
}
|
||||
|
||||
report(startTime);
|
||||
|
||||
flush();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -631,8 +633,6 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable {
|
||||
|
||||
displayProgress(indicator);
|
||||
});
|
||||
|
||||
flush();
|
||||
}
|
||||
|
||||
public void indexAll(@NotNull ProgressIndicator indicator) throws VcsException {
|
||||
@@ -647,8 +647,6 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable {
|
||||
indicator.checkCanceled();
|
||||
displayProgress(indicator);
|
||||
});
|
||||
|
||||
flush();
|
||||
}
|
||||
|
||||
public void displayProgress(@NotNull ProgressIndicator indicator) {
|
||||
|
||||
Reference in New Issue
Block a user