summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-24 13:05:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-24 13:05:12 +0200
commitddb1710aa3dc12566c80658d8dc577c07c5dc98b (patch)
tree225f6a07ad974c69a6da65caf369ae77594744f9
parentfd7ea0cedf528095cc887bd164b0ff8b2edb2f43 (diff)
Remove empty Thread destructor
-rw-r--r--include/threadengine.h3
-rw-r--r--src/threadengine.cpp7
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()
-{
-}