Fix Already disposed IDEA-76765

This commit is contained in:
Kirill Likhodedov
2012-08-01 15:38:17 +04:00
parent 3db82524f2
commit 4d5dbc2cc0
@@ -144,6 +144,9 @@ public abstract class ExecutableValidator {
* @return true if executable was valid, false - if not valid (and notification was shown in that case).
*/
public boolean checkExecutableAndNotifyIfNeeded() {
if (myProject.isDisposed()) {
return false;
}
if (!isExecutableValid(getCurrentExecutable())) {
showExecutableNotConfiguredNotification();
return false;