Skip to content

Commit

Permalink
add back aws_event_loop_thread_is_callers_thread check for dispatch q…
Browse files Browse the repository at this point in the history
…ueue
  • Loading branch information
xiazhvera committed Sep 26, 2024
1 parent c495f9b commit 9b75b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ int aws_event_loop_stop(struct aws_event_loop *event_loop) {
}

int aws_event_loop_wait_for_stop_completion(struct aws_event_loop *event_loop) {
AWS_EVENT_LOOP_NOT_CALLER_THREAD()
AWS_ASSERT(!aws_event_loop_thread_is_callers_thread(event_loop));
AWS_ASSERT(event_loop->vtable && event_loop->vtable->wait_for_stop_completion);
return event_loop->vtable->wait_for_stop_completion(event_loop);
}
Expand Down

0 comments on commit 9b75b49

Please sign in to comment.