提交 173b8c5c 编写于 作者: D Daniel Imms

Reduce diff

上级 520fac53
......@@ -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();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册