IDEA-89236 do not show error message if debugging was cancelled

This commit is contained in:
Eugene Kudelevsky
2012-07-26 12:52:30 +04:00
parent f046b9fda6
commit be4ec708ac
@@ -102,7 +102,7 @@ public class AndroidDebugRunner extends DefaultProgramRunner {
launcher.setRunDescriptor(runDescriptor);
}
if (runDescriptor == null) {
throw new ExecutionException("Can't run an application");
return null;
}
tryToCloseOldSessions(executor, project);
runningState.getProcessHandler().putUserData(ANDROID_PROCESS_HANDLER, runDescriptor);