diff --git a/src/ripple_app/main/LoadManager.cpp b/src/ripple_app/main/LoadManager.cpp index b792143ad..4a1fd5e99 100644 --- a/src/ripple_app/main/LoadManager.cpp +++ b/src/ripple_app/main/LoadManager.cpp @@ -170,7 +170,7 @@ public: if (isThreadRunning ()) { journal.debug << "Stopping"; - stopThread (0); + stopThreadAsync (); } else { @@ -424,6 +424,8 @@ public: boost::this_thread::sleep (when); } } + + stopped (); } };