Skip to content

Commit

Permalink
Fixed stack overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
redboltz committed Nov 19, 2024
1 parent 7a9c0a1 commit 1c67e4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/async_mqtt/impl/endpoint_recv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ recv_op {
// back the event to the recv_events_ for the next async_recv
a_ep.recv_events_.push_front(force_move(event));
state = complete;
as::dispatch(
as::post(
a_ep.get_executor(),
force_move(self)
);
Expand Down Expand Up @@ -225,7 +225,7 @@ recv_op {
if (!process_one_event(self)) return;
}
state = complete; // all events processed
as::dispatch(
as::post(
a_ep.get_executor(),
force_move(self)
);
Expand All @@ -236,7 +236,7 @@ recv_op {
if (!process_one_event(self)) return;
}
state = complete; // all events processed
as::dispatch(
as::post(
a_ep.get_executor(),
force_move(self)
);
Expand Down

0 comments on commit 1c67e4c

Please sign in to comment.