Fix EA-82449. Do not run Lint diagnostics if the project is already disposed
(cherry picked from commit 98b2899) (cherry picked from commit 2179ee8)
This commit is contained in:
@@ -1490,7 +1490,7 @@ public class LintDriver {
|
|||||||
@NotNull List<UastScanner> detectors,
|
@NotNull List<UastScanner> detectors,
|
||||||
@NotNull List<File> files) {
|
@NotNull List<File> files) {
|
||||||
com.intellij.openapi.project.Project intellijProject = mClient.getProject();
|
com.intellij.openapi.project.Project intellijProject = mClient.getProject();
|
||||||
if (intellijProject == null) {
|
if (intellijProject == null || intellijProject.isDisposed()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user