From: Attila Molnar Date: Tue, 24 Jun 2014 11:05:12 +0000 (+0200) Subject: Remove empty Thread destructor X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=ddb1710aa3dc12566c80658d8dc577c07c5dc98b;p=user%2Fhenk%2Fcode%2Finspircd.git Remove empty Thread destructor --- diff --git a/include/threadengine.h b/include/threadengine.h index 1b4ee1541..fec1bbb96 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -60,9 +60,6 @@ class CoreExport Thread { } - /* If the thread is running, you MUST join BEFORE deletion */ - virtual ~Thread(); - /** Override this method to put your actual * threaded code here. */ diff --git a/src/threadengine.cpp b/src/threadengine.cpp index bb686f084..f757aa56c 100644 --- a/src/threadengine.cpp +++ b/src/threadengine.cpp @@ -28,10 +28,3 @@ void Thread::join() { ServerInstance->Threads.Stop(this); } - -/** If this thread has a Creator set, call it to - * free the thread - */ -Thread::~Thread() -{ -}