]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Remove empty Thread destructor
authorAttila Molnar <attilamolnar@hush.com>
Tue, 24 Jun 2014 11:05:12 +0000 (13:05 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Tue, 24 Jun 2014 11:05:12 +0000 (13:05 +0200)
include/threadengine.h
src/threadengine.cpp

index 1b4ee1541b0d91d573f33b5bf299d27f07369b50..fec1bbb96f0d06ccac102e82d3cca44cafeeb93b 100644 (file)
@@ -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.
         */
index bb686f0842e117e1440823a69954e0063f1570f2..f757aa56c7d1509f332306b7d2bace777c9912e0 100644 (file)
@@ -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()
-{
-}