mirror of
https://github.com/boostorg/context.git
synced 2026-01-23 17:32:16 +00:00
fix destruction fcontext
This commit is contained in:
@@ -17,9 +17,13 @@
|
||||
namespace boost {
|
||||
namespace context {
|
||||
|
||||
thread_local
|
||||
execution_context::fcontext
|
||||
execution_context::main_ctx_;
|
||||
|
||||
thread_local
|
||||
execution_context::ptr_t
|
||||
execution_context::current_ctx_ = execution_context::create_main_context();
|
||||
execution_context::current_ctx_ = & execution_context::main_ctx_;
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user