mirror of
https://github.com/XRPLF/rippled.git
synced 2026-10-12 14:48:10 +00:00
fix: stop DatagramMonitor before the services it reads shut down
This commit is contained in:
@@ -1613,6 +1613,8 @@ ApplicationImp::run()
|
||||
|
||||
// The order of these stop calls is delicate.
|
||||
// Re-ordering them risks undefined behavior.
|
||||
if (datagramMonitor_)
|
||||
datagramMonitor_->stop();
|
||||
loadManager_->stop();
|
||||
shaMapStore_->stop();
|
||||
jobQueue_->stop();
|
||||
|
||||
Reference in New Issue
Block a user