Fix windows compilation

This commit is contained in:
Piotr Wójcik 2024-10-23 12:29:22 +02:00
commit e9b07516ff

View file

@ -55,7 +55,7 @@ public:
// TODO: Is this still needed?
#if defined(BOOST_ASIO_HAS_IOCP)
// A hack needed for Windows to prevent deadlock during destruction, described here: https://github.com/chriskohlhoff/asio/issues/431
boost::asio::use_service<boost::asio::detail::win_iocp_io_context> (*thread_pool_m).stop ();
boost::asio::use_service<boost::asio::detail::win_iocp_io_context> (*thread_pool_impl).stop ();
#endif
lock.unlock ();