do not start compilation for disposed project

This commit is contained in:
Eugene Zhuravlev
2010-03-01 10:38:20 +03:00
parent 725c7d9eef
commit 526e7d6ade
@@ -113,9 +113,11 @@ public class CompileStepBeforeRun extends BeforeRunTaskProvider<CompileStepBefor
}
}
done.down();
scope.putUserData(RUN_CONFIGURATION, configuration);
compilerManager.make(scope, callback);
if (!myProject.isDisposed()) {
done.down();
scope.putUserData(RUN_CONFIGURATION, configuration);
compilerManager.make(scope, callback);
}
}
}, ModalityState.NON_MODAL);
}