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();