From ddb1710aa3dc12566c80658d8dc577c07c5dc98b Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 24 Jun 2014 13:05:12 +0200 Subject: Remove empty Thread destructor --- include/threadengine.h | 3 --- src/threadengine.cpp | 7 ------- 2 files changed, 10 deletions(-) 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() -{ -} -- cgit v1.2.3