mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: abort scheduled tasks on rediff
viewer.scheduleRediff(); viewer.rediff(); shouldn't cause performing calculations twice
This commit is contained in:
@@ -127,6 +127,7 @@ public abstract class DiffViewerBase implements DiffViewer, DataProvider {
|
||||
@CalledInAwt
|
||||
public final void rediff(boolean trySync) {
|
||||
if (isDisposed()) return;
|
||||
abortRediff();
|
||||
|
||||
onBeforeRediff();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user