From fc603ccf04be25bbaf8e62d9b62103dbb619225f Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Sat, 3 Oct 2026 23:43:59 -0400 Subject: [PATCH] fix: stop DatagramMonitor before the services it reads shut down --- src/xrpld/app/main/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrpld/app/main/Application.cpp b/src/xrpld/app/main/Application.cpp index cb43eff13a..7d66b12fb6 100644 --- a/src/xrpld/app/main/Application.cpp +++ b/src/xrpld/app/main/Application.cpp @@ -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();