Fix windows compilation
This commit is contained in:
parent
f53f1f8d98
commit
e9b07516ff
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue