mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 22:08:04 -05:00
Reduce diff
This commit is contained in:
@@ -227,7 +227,7 @@ export class Code {
|
||||
private driver: IDriver;
|
||||
|
||||
constructor(
|
||||
private client: IDisposable | undefined,
|
||||
private client: IDisposable,
|
||||
driver: IDriver,
|
||||
readonly logger: Logger
|
||||
) {
|
||||
@@ -343,9 +343,7 @@ export class Code {
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
if (this.client) {
|
||||
this.client.dispose();
|
||||
}
|
||||
this.client.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user