Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit 6736442

Browse files
committed
Revert "ChildProcessStream: store exitcode/exitsignal"
This reverts commit 7fa9fa5.
1 parent c109f5a commit 6736442

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nvim/session.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,7 @@ function Session:_run(request_cb, notification_cb, timeout)
181181
self._prepare:stop()
182182
end)
183183
end
184-
self._msgpack_rpc_stream:read_start(request_cb, notification_cb, function()
185-
uv.run() -- run the loop to get exitcode from child process.
186-
self.child_exit = self._msgpack_rpc_stream._stream.exitcode
187-
self.child_signal = self._msgpack_rpc_stream._stream.exitsignal
188-
uv.stop()
189-
end)
184+
self._msgpack_rpc_stream:read_start(request_cb, notification_cb, uv.stop)
190185
uv.run()
191186
self._prepare:stop()
192187
self._timer:stop()

0 commit comments

Comments
 (0)