diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 13:05:12 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 13:05:12 +0200 |
commit | ddb1710aa3dc12566c80658d8dc577c07c5dc98b (patch) | |
tree | 225f6a07ad974c69a6da65caf369ae77594744f9 | |
parent | fd7ea0cedf528095cc887bd164b0ff8b2edb2f43 (diff) |
Remove empty Thread destructor
-rw-r--r-- | include/threadengine.h | 3 | ||||
-rw-r--r-- | src/threadengine.cpp | 7 |
2 files changed, 0 insertions, 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() -{ -} |