Skip to content

Commit ead4a49

Browse files
committed
[Net] Destroy the stream before a server is closed to avoid internal errors.
1 parent 2ad3d18 commit ead4a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ export class Project {
648648
this._isDisposed = true;
649649
this._providers.clear();
650650
this._output.hide();
651-
this._client.end();
651+
this._client.destroy();
652652
this._server.kill();
653653
this._disposable.dispose();
654654
}

0 commit comments

Comments
 (0)