Skip to content

Commit e69f686

Browse files
committed
fix(jsonrpc2): corrected starting server in pipe mode
1 parent fcf3cf3 commit e69f686

File tree

1 file changed

+1
-1
lines changed
  • packages/jsonrpc2/src/robotcode/jsonrpc2

1 file changed

+1
-1
lines changed

packages/jsonrpc2/src/robotcode/jsonrpc2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async def start_pipe(self, pipe_name: Optional[str]) -> None:
236236
)
237237

238238
else:
239-
self.loop.run_until_complete(self.loop.create_unix_connection(self.create_protocol, pipe_name))
239+
await self.loop.create_unix_connection(self.create_protocol, pipe_name)
240240
except NotImplementedError as e:
241241
raise NotSupportedError("Pipe transport is not supported on this platform.") from e
242242

0 commit comments

Comments
 (0)