Update kernel.cpp (#2125)

In kernel.cpp boost io_context.reset() deprecated/discontinued in latest versions.  Changed to io_context.restart() as recommended.
This commit is contained in:
Ian Maclachlan 2025-01-18 06:16:07 +00:00 committed by GitHub
parent e134fc5f1e
commit a5440e0e43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ static void KernelServiceThread(std::stop_token stoken) {
}
io_context.run();
io_context.reset();
io_context.restart();
asio_requests = 0;
}