diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-05-19 10:49:59 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-05-19 10:49:59 +0000 |
commit | a51cde3a12b029a02f6fafaba45508971edb1aa9 (patch) | |
tree | 8e983a63db33c6ee67feef5d8952695cb6fd6963 /cpp/src/IceGrid/ReapThread.cpp | |
parent | try different compiler workaround for nested templates and iterators (diff) | |
download | ice-a51cde3a12b029a02f6fafaba45508971edb1aa9.tar.bz2 ice-a51cde3a12b029a02f6fafaba45508971edb1aa9.tar.xz ice-a51cde3a12b029a02f6fafaba45508971edb1aa9.zip |
Session re-factoring.
Diffstat (limited to 'cpp/src/IceGrid/ReapThread.cpp')
-rw-r--r-- | cpp/src/IceGrid/ReapThread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/ReapThread.cpp b/cpp/src/IceGrid/ReapThread.cpp index 103bd18997e..bdda6941c7b 100644 --- a/cpp/src/IceGrid/ReapThread.cpp +++ b/cpp/src/IceGrid/ReapThread.cpp @@ -70,6 +70,10 @@ ReapThread::terminate() list<ReapablePtr> reap; { Lock sync(*this); + if(_terminated) + { + return; + } _terminated = true; notify(); reap.swap(_sessions); |