Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/stub_launcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ StubLauncher::Launch()
// monitoring thread may take longer which can make the server process think
// that the stub process is unhealthy and return early. Waiting until the
// health thread is spawn would make sure would prevent this issue.
parent_message_queue_->Pop();
bi::managed_external_buffer::handle_t message;
RETURN_IF_ERROR(ReceiveMessageFromStub(message));

if (stub_process_kind_ == "AUTOCOMPLETE_STUB") {
try {
Expand Down Expand Up @@ -458,7 +459,8 @@ StubLauncher::Launch()
// monitoring thread may take longer which can make the server process think
// that the stub process is unhealthy and return early. Waiting until the
// health thread is spawn would prevent this issue.
parent_message_queue_->Pop();
bi::managed_external_buffer::handle_t message;
RETURN_IF_ERROR(ReceiveMessageFromStub(message));

if (stub_process_kind_ == "AUTOCOMPLETE_STUB") {
try {
Expand Down
Loading