Skip to content

Commit

Permalink
Prefix setProcessId with an underscore
Browse files Browse the repository at this point in the history
Fixes #12434
  • Loading branch information
Tyriar committed Oct 27, 2016
1 parent 7d2aca6 commit 2f182c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/api/node/extHostTerminalService.ts
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ export class ExtHostTerminal implements vscode.Terminal {
}
}

public setProcessId(processId: number): void {
public _setProcessId(processId: number): void {
this._pidPromiseComplete(processId);
this._pidPromiseComplete = null;
}
@@ -123,7 +123,7 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {

public $acceptTerminalProcessId(id: number, processId: number): void {
let terminal = this._getTerminalById(id);
terminal.setProcessId(processId);
terminal._setProcessId(processId);
}

private _getTerminalById(id: number): ExtHostTerminal {

0 comments on commit 2f182c0

Please sign in to comment.