changed DeleteObject to ReleaseHandle
This commit is contained in:
@@ -435,13 +435,7 @@ RageMutexImpl::RageMutexImpl()
|
|||||||
|
|
||||||
RageMutexImpl::~RageMutexImpl()
|
RageMutexImpl::~RageMutexImpl()
|
||||||
{
|
{
|
||||||
#if defined(_XBOX)
|
|
||||||
CloseHandle( mutex );
|
CloseHandle( mutex );
|
||||||
#else
|
|
||||||
// i think this is wrong
|
|
||||||
// dosent windows use CloseHandle() to destroy a mutex too??
|
|
||||||
DeleteObject( mutex );
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user