Skip to content

Commit 5e170fc

Browse files
authored
remove notification on successful kill of process in freeing port (microsoft#163951)
remove notification
1 parent 18247c0 commit 5e170fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ export class TerminalProcessManager extends Disposable implements ITerminalProce
177177
async freePortKillProcess(port: string): Promise<void> {
178178
try {
179179
if (this._process?.freePortKillProcess) {
180-
const result = await this._process?.freePortKillProcess(port);
181-
this._notificationService.notify({ message: localize('killportsuccess', 'Killed process with PID {0} listening on port {1}', result.processId, result.port), severity: Severity.Info });
180+
await this._process?.freePortKillProcess(port);
182181
}
183182
} catch (e) {
184183
this._notificationService.notify({ message: localize('killportfailure', 'Could not kill process listening on port {0}, command exited with error {1}', port, e), severity: Severity.Warning });

0 commit comments

Comments
 (0)