diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-05-09 17:50:53 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:00:04 -0400 |
commit | 4149afd45d2c0b9f464d1b4434f7bdaa61873d44 (patch) | |
tree | 7ecbfa99c159f9bbfc89d1ec36d1f84f166dd96a /src/threadengine.cpp | |
parent | 6db15e17834163975f6122d3913d260d8327d516 (diff) |
Changed threadengine to delete threads after Joining them, so the whole thread exists when being joined and so its safe to call non-threadsafe functions in the destructor
Diffstat (limited to 'src/threadengine.cpp')
-rw-r--r-- | src/threadengine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/threadengine.cpp b/src/threadengine.cpp index f7e924fb6..ea652e1f2 100644 --- a/src/threadengine.cpp +++ b/src/threadengine.cpp @@ -12,7 +12,6 @@ Thread::Thread() : Exit(false) */ Thread::~Thread() { - Join(); } /** Sets the exit state as true informing the thread we want it to shut down |