From e9b07516ff1dba1df2acdf661c38c1bc1cccb386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:29:22 +0200 Subject: [PATCH] Fix windows compilation --- nano/lib/thread_pool.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/lib/thread_pool.hpp b/nano/lib/thread_pool.hpp index 0e42c6e109..157272b7fe 100644 --- a/nano/lib/thread_pool.hpp +++ b/nano/lib/thread_pool.hpp @@ -55,7 +55,7 @@ class thread_pool final // 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 (*thread_pool_m).stop (); + boost::asio::use_service (*thread_pool_impl).stop (); #endif lock.unlock ();