From 8235290c734c17f5b52533876136e9a61d231c9d Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 10 Aug 2009 19:55:07 +0000 Subject: Fix thread join not working for subclasses of Thread because of C++ destructor ordering git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a1a5d2d03..5a792b884 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -788,6 +788,7 @@ int InspIRCd::Run() FOREACH_MOD_I(this, I_OnRehash, OnRehash(user)); this->BuildISupport(); + ConfigThread->join(); delete ConfigThread; ConfigThread = NULL; } -- cgit v1.2.3