diff --git a/include/boost/context/fiber_fcontext.hpp b/include/boost/context/fiber_fcontext.hpp index 4c5b6546..2c91b110 100644 --- a/include/boost/context/fiber_fcontext.hpp +++ b/include/boost/context/fiber_fcontext.hpp @@ -344,6 +344,8 @@ class fiber { ~fiber() { if ( BOOST_UNLIKELY( nullptr != fctx_) ) { + detail::manage_exception_state exstate; + boost::ignore_unused(exstate); detail::ontop_fcontext( #if defined(BOOST_NO_CXX14_STD_EXCHANGE) detail::exchange( fctx_, nullptr),