mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-10 12:56:32 +00:00
Added a workaround for a memory leak.
eclipse-theia/theia#7008 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
d53d474243
commit
4b859c2db9
@ -13,7 +13,7 @@ export class ToolOutputServiceClientImpl implements ToolOutputServiceClient {
|
||||
protected readonly outputContribution: OutputContribution;
|
||||
|
||||
onNewOutput(tool: string, chunk: string): void {
|
||||
this.outputContribution.openView({ activate: true }).then(() => {
|
||||
this.outputContribution.openView({ reveal: true }).then(() => {
|
||||
const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`);
|
||||
channel.setVisibility(true);
|
||||
channel.append(chunk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user