mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-20 02:32:19 +00:00
set active context to nullptr in ~scheduler()
This commit is contained in:
@@ -44,6 +44,11 @@ context::active( context * active) noexcept {
|
||||
active_ = active;
|
||||
}
|
||||
|
||||
void
|
||||
context::reset_active() noexcept {
|
||||
active_ = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
context::set_terminated_() noexcept {
|
||||
// protect for concurrent access
|
||||
|
||||
Reference in New Issue
Block a user