Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jan 24, 2024
1 parent dc7cb4c commit d3f19b4
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 @@ -166,7 +166,7 @@ static struct aws_event_loop_group *s_event_loop_group_new(
return el_group;

on_error:;
/* cache the error code before potential side effects */
/* cache the error code to prevent any potential side effects */
int cached_error_code = aws_last_error();

aws_mem_release(alloc, usable_cpus);
Expand Down

0 comments on commit d3f19b4

Please sign in to comment.