AppLayerLabs / bdk-cpp

MIT License
7 stars 12 forks source link

Fix p2p crash #92

Closed fcecin closed 7 months ago

fcecin commented 7 months ago

This fixes a race condition during P2P::ManagerBase::stop() which could lead to crashes. Need to call wait_for_tasks() on the underlying thread pool object to make sure it it has ceased all activity.