Fixed a problem in cCSLock (sorry); reverted cChunk
git-svn-id: http://mc-server.googlecode.com/svn/trunk@195 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -107,6 +107,12 @@ cCSLock::cCSLock(cCriticalSection & a_CS)
|
||||
|
||||
cCSLock::~cCSLock()
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
if (!m_IsLocked)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
Unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user