# std::stop_source::~stop_source

> C++ Atlas: `cppatlas.com/w/cpp/thread/stop_source/~stop_source` | Source: https://en.cppreference.com/w/cpp/thread/stop_source/~stop_source | Domain: Concurrency support | Standards: C++20

Destroys the stop_source object.

## Official Specification Summary (cppreference)

```cpp
~stop_source(); // (since C++20)
```

Destroys the `stop_source` object.

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

---
Attribution: content from https://en.cppreference.com/w/cpp/thread/stop_source/~stop_source (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.