Use log_deregister_thread in EmergeThread
authorPerttu Ahola <celeron55@gmail.com>
Sun, 27 Nov 2011 11:52:36 +0000 (13:52 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:56 +0000 (19:13 +0200)
src/server.cpp

index 4797965f288e1083177d01cb82991c417130ba57..0cbf5029425359bc3a9386f298f0bc0560d41584 100644 (file)
@@ -325,6 +325,8 @@ void * EmergeThread::Thread()
 
        END_DEBUG_EXCEPTION_HANDLER(errorstream)
 
+       log_deregister_thread();
+
        return NULL;
 }