Skip to content

Commit

Permalink
Refresh open traces view on start during open
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Jul 3, 2023
1 parent 297af68 commit 52e21d9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ export class TraceViewerContribution
progress.report({ message: 'Trace server started.', work: { done: 100, total: 100 } });
}
progress.cancel();
TraceServerConnectionStatusService.renderStatus(true);
signalManager().fireTraceServerStartedSignal();
this.openDialog(rootPath);
}
} catch (err) {
Expand Down Expand Up @@ -161,6 +163,8 @@ export class TraceViewerContribution
} else {
progress.report({ message: 'Trace server started.', work: { done: 100, total: 100 } });
}
TraceServerConnectionStatusService.renderStatus(true);
signalManager().fireTraceServerStartedSignal();
return super.open(traceURI, options);
}
throw new Error('Could not start trace server: ' + resolve);
Expand Down

0 comments on commit 52e21d9

Please sign in to comment.