mirror of
https://github.com/anope/anope.git
synced 2026-06-25 19:36:38 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user