std::promise::~promise

From cppreference.com
< cpp‎ | thread‎ | promise
~promise();
(since C++11)

Abandons the shared state: