# std::stop_token::~stop_token

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

Destroys the stop_token object.

## Official Specification Summary (cppreference)

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

Destroys the `stop_token` object.

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

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