Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ public class ConsoleColorProvider implements IConsoleColorProvider {
public void connect(IProcess process, IConsole console) {
fProcess = process;
fConsole = console;
IStreamsProxy streamsProxy = fProcess.getStreamsProxy();
// Wire up via the arguments, not the fields: a shared provider instance
// may be connected concurrently for different processes (issue #2638).
IStreamsProxy streamsProxy = process.getStreamsProxy();
if (streamsProxy != null) {
fConsole.connect(streamsProxy);
console.connect(streamsProxy);
}
}

Expand Down
Loading