Skip to content

Commit

Permalink
Update kernel.cpp (#2125)
Browse files Browse the repository at this point in the history
In kernel.cpp boost io_context.reset() deprecated/discontinued in latest versions.  Changed to io_context.restart() as recommended.
  • Loading branch information
imaclachlan authored Jan 18, 2025
1 parent e134fc5 commit a5440e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/libraries/kernel/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void KernelServiceThread(std::stop_token stoken) {
}

io_context.run();
io_context.reset();
io_context.restart();

asio_requests = 0;
}
Expand Down

0 comments on commit a5440e0

Please sign in to comment.