From 940d620a96289e759a7f1940e93bfc30ff4f9be3 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 1 Nov 2013 10:34:35 -0700 Subject: [PATCH] Fix SiteFiles thread name --- src/ripple/sitefiles/impl/Manager.cpp | 2 +- src/ripple_app/main/RippleMain.cpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ripple/sitefiles/impl/Manager.cpp b/src/ripple/sitefiles/impl/Manager.cpp index 43b9de02f..5e3a0d1b7 100644 --- a/src/ripple/sitefiles/impl/Manager.cpp +++ b/src/ripple/sitefiles/impl/Manager.cpp @@ -38,7 +38,7 @@ public: ManagerImp (Stoppable& stoppable, Journal journal) : Manager (stoppable) - , Thread ("PeerFinder") + , Thread ("SiteFiles") , m_logic (journal) , m_journal (journal) { diff --git a/src/ripple_app/main/RippleMain.cpp b/src/ripple_app/main/RippleMain.cpp index 3b5560bf3..62a702a7b 100644 --- a/src/ripple_app/main/RippleMain.cpp +++ b/src/ripple_app/main/RippleMain.cpp @@ -160,6 +160,11 @@ public: setAssertOnFailure (false); } + ~RippleUnitTests () + { + m_app = nullptr; + } + void logMessage (String const& message) { if (m_shouldLog)