std::stop_token::~stop_token
From cppreference.com
< cpp | thread | stop token
~stop_token(); |
(since C++20) | |
Destroys the stop_token
object.
If *this has associated stop-state, releases ownership of it.