mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git log: sometimes it forgets to refresh (due to stopping previous task) -> fixed
This commit is contained in:
@@ -81,16 +81,15 @@ public class LoadController implements Loader {
|
||||
|
||||
myUsersComponent.acceptUpdate(myUsersIndex.getKeys());
|
||||
|
||||
final Continuation continuation;
|
||||
if (myPreviousAlgorithm != null) {
|
||||
continuation = myPreviousAlgorithm.getContinuation();
|
||||
continuation.clearQueue();
|
||||
} else {
|
||||
continuation = Continuation.createFragmented(myProject, true);
|
||||
final Continuation oldContinuation = myPreviousAlgorithm.getContinuation();
|
||||
oldContinuation.cancelCurrent();
|
||||
oldContinuation.clearQueue();
|
||||
}
|
||||
|
||||
final Continuation continuation = Continuation.createFragmented(myProject, true);
|
||||
myPreviousAlgorithm = new LoadAlgorithm(myProject, list, shortLoaders, continuation);
|
||||
myPreviousAlgorithm.fillContinuation();
|
||||
continuation.cancelCurrent();
|
||||
continuation.resume();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user