std::stop_source::~stop_source

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

Destroys the stop_source object.

If *this has associated stop-state, releases ownership of it.