mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[github] Check progress manager disposed state before callback
Otherwise when dialog is closed various "already disposed" errors pop up Issue: EA-122314
This commit is contained in:
@@ -323,6 +323,7 @@ public abstract class CloneDvcsDialog extends DialogWrapper {
|
||||
|
||||
@Override
|
||||
public void onSuccess() {
|
||||
if (mySpinnerProgressManager.getDisposed()) return;
|
||||
if (!myNewRepositories.isEmpty()) {
|
||||
// otherwise editor content will be reset
|
||||
myRepositoryUrlCombobox.setSelectedItem(myRepositoryUrlField.getText());
|
||||
|
||||
Reference in New Issue
Block a user