Skip to content

Commit 44cb1f3

Browse files
committed
Update
1 parent 1ab97b7 commit 44cb1f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/stub_launcher.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ StubLauncher::Launch()
301301
// monitoring thread may take longer which can make the server process think
302302
// that the stub process is unhealthy and return early. Waiting until the
303303
// health thread is spawn would make sure would prevent this issue.
304-
parent_message_queue_->Pop();
304+
bi::managed_external_buffer::handle_t message;
305+
RETURN_IF_ERROR(ReceiveMessageFromStub(message));
305306

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

463465
if (stub_process_kind_ == "AUTOCOMPLETE_STUB") {
464466
try {

0 commit comments

Comments
 (0)