mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] add diagnostic for long actions
This commit is contained in:
@@ -144,7 +144,7 @@ public class VcsLogUiImpl implements VcsLogUi, Disposable {
|
||||
myMainFrame.getGraphTable().repaint();
|
||||
}
|
||||
|
||||
private void performLongAction(@NotNull final GraphAction graphAction, @NotNull String title) {
|
||||
private void performLongAction(@NotNull final GraphAction graphAction, @NotNull final String title) {
|
||||
ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
@@ -153,7 +153,7 @@ public class VcsLogUiImpl implements VcsLogUi, Disposable {
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
assert updater != null;
|
||||
assert updater != null : "Action:" + title + "\nController: " + myVisiblePack.getVisibleGraph().getActionController() + "\nAnswer:" + answer;
|
||||
updater.run();
|
||||
handleAnswer(answer, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user