diff --git a/src/common/fiber.cpp b/src/common/fiber.cpp index 0e7f28c5b9..11b7063ad1 100644 --- a/src/common/fiber.cpp +++ b/src/common/fiber.cpp @@ -32,6 +32,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;