std::stop_source::~stop_source

< cpp‎ | thread‎ | stop source
~stop_source();
(C++20 起)

销毁 stop_source 对象。

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