std::experimental::flex_barrier:: ~flex_barrier

From cppreference.com
~flex_barrier ( ) ;
(concurrency TS)

Destroys the flex_barrier .

The behavior is undefined if a thread is blocked at the synchronization point.