mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-17 08:31:31 +00:00
Fix EA-82449. Do not run Lint diagnostics if the project is already disposed
(cherry picked from commit 98b2899)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user