mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
This prevents ThreadPool::stop from hanging if it is called with `wait` set to true (which is notably the case in ThreadPool::join) and the pool's task queue is non-empty.