diff --git a/src/common/fiber.cpp b/src/common/fiber.cpp index 69eca732eb..1b201c47af 100644 --- a/src/common/fiber.cpp +++ b/src/common/fiber.cpp @@ -33,6 +33,9 @@ struct Fiber::FiberImpl { boost::context::detail::fcontext_t context{}; boost::context::detail::fcontext_t rewind_context{}; + boost::context::detail::fcontext_t context{}; + boost::context::detail::fcontext_t rewind_context{}; + std::mutex guard; std::function entry_point; std::function rewind_point;