public static final String ANDROID_LOGCAT_CONTENT_ID = "Android Logcat";
private static void tryToCloseOldSessions(final Executor executor, Project project) {
final ExecutionManager manager = ExecutionManager.getInstance(project);
ProcessHandler[] processes = manager.getRunningProcesses();
for (ProcessHandler process : processes) {
<BUG>final RunContentDescriptor descriptor = process.getUserData(ANDROID_PROCESS_HANDLER);
if (descriptor != null) {
</BUG>
process.addProcessListener(new ProcessAdapter() {
@Override

public static final String ANDROID_LOGCAT_CONTENT_ID = "Android Logcat";
private static void tryToCloseOldSessions(final Executor executor, Project project) {
final ExecutionManager manager = ExecutionManager.getInstance(project);
ProcessHandler[] processes = manager.getRunningProcesses();
for (ProcessHandler process : processes) {
final AndroidSessionInfo info = process.getUserData(ANDROID_SESSION_INFO);
if (info != null) {
process.addProcessListener(new ProcessAdapter() {
@Override
