From 27e8a71f08ff1d8e55c61502e27060aaba5e5bea Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 30 Sep 2013 09:14:16 -0700 Subject: [PATCH] Fix LoadManager stop --- src/ripple_app/main/LoadManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 (); } };