From d7dfd2da27c2a7043b7cb04069dba51cd48b1752 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 7 Nov 2008 10:02:27 +0100 Subject: Fixed bug in IceGrid application sync --- cpp/src/IceGrid/Database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IceGrid/Database.cpp') diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 5e5ff949aef..b2d91a0b61d 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -395,7 +395,7 @@ Database::syncApplicationDescriptor(const ApplicationDescriptor& newDesc, AdminS Lock sync(*this); checkSessionLock(session); - while(_updating.find(update.descriptor.name) != _updating.end()) + while(_updating.find(newDesc.name) != _updating.end()) { wait(); } -- cgit v1.2.3