summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-10-20 20:08:02 +0000
committerBernard Normier <bernard@zeroc.com>2003-10-20 20:08:02 +0000
commita4dc8793395551c119d0ad0916ceb901c3e58b51 (patch)
tree6208cf47202f39ff726579e106b2d4f8dd1a32c7 /cpp/src
parentRemoved Freeze::Evictor::saveNow (diff)
downloadice-a4dc8793395551c119d0ad0916ceb901c3e58b51.tar.bz2
ice-a4dc8793395551c119d0ad0916ceb901c3e58b51.tar.xz
ice-a4dc8793395551c119d0ad0916ceb901c3e58b51.zip
Bug fix
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Freeze/EvictorI.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Freeze/EvictorI.cpp b/cpp/src/Freeze/EvictorI.cpp
index 8d60ac135dc..0840ecab263 100644
--- a/cpp/src/Freeze/EvictorI.cpp
+++ b/cpp/src/Freeze/EvictorI.cpp
@@ -5,7 +5,7 @@
// Billerica, MA, USA
//
// All Rights Reserved.
-//
+//d
// Ice is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License version 2 as published by
// the Free Software Foundation.
@@ -1121,14 +1121,14 @@ Freeze::EvictorI::deactivate(const string&)
Lock sync(*this);
if(!_deactivated)
- {
- saveNowNoSync();
-
+ {
if(_trace >= 1)
{
Trace out(_communicator->getLogger(), "Freeze.Evictor");
out << "deactivating, saving unsaved Ice objects to the database";
}
+
+ saveNowNoSync();
//
// Set the evictor size to zero, meaning that we will evict
@@ -1247,6 +1247,7 @@ Freeze::EvictorI::run()
}
case destroyed:
{
+ facet->status = dead;
size_t index = streamedObjectQueue.size();
streamedObjectQueue.resize(index + 1);
StreamedObject& obj = streamedObjectQueue[index];