Fix EA-82449. Do not run Lint diagnostics if the project is already disposed

(cherry picked from commit 98b2899)
This commit is contained in:
Yan Zhulanow
2016-05-18 19:27:18 +03:00
parent 696475e6bf
commit 2179ee82a9

View File

@@ -1490,7 +1490,7 @@ public class LintDriver {
@NotNull List<UastScanner> detectors,
@NotNull List<File> files) {
com.intellij.openapi.project.Project intellijProject = mClient.getProject();
if (intellijProject == null) {
if (intellijProject == null || intellijProject.isDisposed()) {
return;
}