Skip to content

Commit

Permalink
Revert "ChildProcessStream: store exitcode/exitsignal"
Browse files Browse the repository at this point in the history
This reverts commit 7fa9fa5.
  • Loading branch information
blueyed committed Oct 11, 2019
1 parent c109f5a commit 6736442
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nvim/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,7 @@ function Session:_run(request_cb, notification_cb, timeout)
self._prepare:stop()
end)
end
self._msgpack_rpc_stream:read_start(request_cb, notification_cb, function()
uv.run() -- run the loop to get exitcode from child process.
self.child_exit = self._msgpack_rpc_stream._stream.exitcode
self.child_signal = self._msgpack_rpc_stream._stream.exitsignal
uv.stop()
end)
self._msgpack_rpc_stream:read_start(request_cb, notification_cb, uv.stop)
uv.run()
self._prepare:stop()
self._timer:stop()
Expand Down

0 comments on commit 6736442

Please sign in to comment.