summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/DescriptorParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/DescriptorParser.cpp')
-rw-r--r--cpp/src/IceGrid/DescriptorParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/DescriptorParser.cpp b/cpp/src/IceGrid/DescriptorParser.cpp
index 7730f6d6604..e734711e100 100644
--- a/cpp/src/IceGrid/DescriptorParser.cpp
+++ b/cpp/src/IceGrid/DescriptorParser.cpp
@@ -502,6 +502,7 @@ DescriptorHandler::endElement(const string& name, int line, int column)
assert(_currentNode.get());
_currentNode->addServer(_currentServer->getDescriptor());
}
+ _currentServer->finish();
_currentServer.reset(0);
_currentCommunicator = 0;
}
@@ -522,6 +523,7 @@ DescriptorHandler::endElement(const string& name, int line, int column)
{
_currentTemplate->setDescriptor(_currentService->getDescriptor());
}
+ _currentService->finish();
_currentService.reset(0);
_currentCommunicator = _currentServer.get();
}