std::stop_token::~stop_token

< cpp‎ | thread‎ | stop token
~stop_token();
(C++20 起)

销毁 stop_token 对象。

*this 拥有关联停止状态,则释放其所有权。