Skip to content

Commit f8e967e

Browse files
committed
fix lsp session shutdown
1 parent 7d7798d commit f8e967e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lsp_types/pyright/session.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ def __init__(self, lsp_process: LSPProcess):
8484

8585
async def shutdown(self) -> None:
8686
"""Shutdown the session"""
87-
await self._process.send.shutdown()
88-
await self._process.notify.exit()
87+
await self._process.stop()
8988

9089
async def update_code(self, code: str) -> int:
9190
"""Update the code in the current document"""

0 commit comments

Comments
 (0)