summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-13 15:09:20 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-13 15:09:20 +0200
commitb071a6acd805bde6119a66481768be13102d1c2b (patch)
tree262710810e684b688a72ce3ee7a6d2ca519e83b0 /src/inspircd.cpp
parent12027601cf4422366b0cef632ff0158c9410cc9a (diff)
Change allocation of InspIRCd::Threads to be physically part of the object containing it
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ff28be6c1..942ac55a6 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -138,7 +138,6 @@ void InspIRCd::Cleanup()
DeleteZero(this->SNO);
DeleteZero(this->Config);
DeleteZero(this->PI);
- DeleteZero(this->Threads);
SocketEngine::Deinit();
Logs->CloseLogs();
DeleteZero(this->Logs);
@@ -260,7 +259,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
// Initialize so that if we exit before proper initialization they're not deleted
this->Logs = 0;
- this->Threads = 0;
this->PI = 0;
this->Users = 0;
this->Config = 0;
@@ -281,8 +279,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
SocketEngine::Init();
- this->Threads = new ThreadEngine;
-
/* Default implementation does nothing */
this->PI = new ProtocolInterface;