(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
{
|
||||
this->m_sem = ThreadSemaphore::New();
|
||||
/* Create a thread and start stFiberProc */
|
||||
this->m_thread = ThreadObject::New(&stFiberProc, this);
|
||||
this->m_thread = ThreadObject::New(&stFiberProc, this, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user