+ std::mutex send_mutex; std::atomic_bool discard{false};
Maybe I'm missing something, but we don't need a mutex to guard an atomic_bool, and I don't see any other use of it.
« Back to merge proposal
+ std::mutex send_mutex;
std::atomic_bool discard{false};
Maybe I'm missing something, but we don't need a mutex to guard an atomic_bool, and I don't see any other use of it.