mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-26359 Don't run skeleton generation / remote paths refresh if project hasn't been created yet
We will re-run SDK updater as a per-project startup activity on opening the newly created project.
This commit is contained in:
@@ -117,6 +117,9 @@ public class PythonSdkUpdater implements StartupActivity {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (project == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
final Application application = ApplicationManager.getApplication();
|
||||
|
||||
@@ -134,7 +137,7 @@ public class PythonSdkUpdater implements StartupActivity {
|
||||
}
|
||||
ourScheduledToRefresh.remove(key);
|
||||
}
|
||||
if (project != null && project.isDisposed()) {
|
||||
if (project.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
if (PythonSdkType.findSdkByKey(key) == null) {
|
||||
|
||||
Reference in New Issue
Block a user