diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-03-30 06:22:29 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-03-30 06:22:29 +0000 |
commit | 1353e0ec3ccc6578618b37ba7c11ab47e2fab6f5 (patch) | |
tree | 752e47dce2f0dd9d82ae70be3d69b31c736903c5 /cpp | |
parent | Fix (diff) | |
download | ice-1353e0ec3ccc6578618b37ba7c11ab47e2fab6f5.tar.bz2 ice-1353e0ec3ccc6578618b37ba7c11ab47e2fab6f5.tar.xz ice-1353e0ec3ccc6578618b37ba7c11ab47e2fab6f5.zip |
Fix
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/IceUtil/Random.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Random.cpp b/cpp/src/IceUtil/Random.cpp index 31b230df42a..3b80b45f020 100644 --- a/cpp/src/IceUtil/Random.cpp +++ b/cpp/src/IceUtil/Random.cpp @@ -60,7 +60,6 @@ public: ~RandomCleanup() { - IceUtil::StaticMutex::Lock lock(staticMutex); #ifdef _WIN32 if(context != NULL) { @@ -68,6 +67,7 @@ public: context = NULL; } #else + IceUtil::StaticMutex::Lock lock(staticMutex); if(fd != -1) { close(fd); |