fixed bug introduced after R3.14.9, but before R3.14.10-RC1 and R3.14.10-RC2

This commit is contained in:
Jeff Hill
2008-10-21 20:26:48 +00:00
parent cdd2748c98
commit c5f15a3e17
@@ -150,7 +150,7 @@ static void ipAddrToAsciiEngineShutdownRequest ( void * )
}
if ( deleteGlobalMutexCondDetected ) {
delete ipAddrToAsciiEnginePrivate :: pGlobalMutex;
ipAddrToAsciiEnginePrivate :: pEngine = 0;
ipAddrToAsciiEnginePrivate :: pGlobalMutex = 0;
}
}
@@ -225,11 +225,13 @@ void ipAddrToAsciiEnginePrivate::release ()
if ( ipAddrToAsciiEnginePrivate::numberOfReferences == 0u ) {
deleteGlobalMutexCondDetected =
ipAddrToAsciiEnginePrivate :: shutdownRequest;
delete ipAddrToAsciiEnginePrivate :: pEngine;
ipAddrToAsciiEnginePrivate :: pEngine = 0;
}
}
if ( deleteGlobalMutexCondDetected ) {
delete ipAddrToAsciiEnginePrivate :: pGlobalMutex;
ipAddrToAsciiEnginePrivate :: pEngine = 0;
ipAddrToAsciiEnginePrivate :: pGlobalMutex = 0;
}
}