From ba173b8bf099c5f7a7381e8095b93dcae3eb2557 Mon Sep 17 00:00:00 2001 From: Michael Golubev Date: Fri, 31 Oct 2014 13:59:05 +0100 Subject: [PATCH] IDEA-126627 - Throwable at com.intellij.openapi.editor.impl.EditorImpl. --- .../remoteServer/impl/runtime/log/LoggingHandlerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/log/LoggingHandlerImpl.java b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/log/LoggingHandlerImpl.java index 7434b10c453e..0637a2f43bb7 100644 --- a/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/log/LoggingHandlerImpl.java +++ b/platform/remote-servers/impl/src/com/intellij/remoteServer/impl/runtime/log/LoggingHandlerImpl.java @@ -7,6 +7,7 @@ import com.intellij.execution.process.ProcessHandler; import com.intellij.execution.ui.ConsoleView; import com.intellij.execution.ui.ConsoleViewContentType; import com.intellij.openapi.project.Project; +import com.intellij.openapi.util.Disposer; import com.intellij.remoteServer.runtime.log.LoggingHandler; import org.jetbrains.annotations.NotNull; @@ -18,6 +19,7 @@ public class LoggingHandlerImpl implements LoggingHandler { public LoggingHandlerImpl(@NotNull Project project) { myConsole = TextConsoleBuilderFactory.getInstance().createBuilder(project).getConsole(); + Disposer.register(project, myConsole); } @NotNull