Skip to content

Commit

Permalink
Allow exceptions to escape from work_finished_on_block_exit destructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Apr 3, 2023
1 parent b267e0c commit 7179100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asio/include/asio/detail/impl/win_iocp_io_context.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct win_iocp_io_context::thread_function

struct win_iocp_io_context::work_finished_on_block_exit
{
~work_finished_on_block_exit()
~work_finished_on_block_exit() ASIO_NOEXCEPT_IF(false)
{
io_context_->work_finished();
}
Expand Down

0 comments on commit 7179100

Please sign in to comment.