From 91f6ebb998532b36fc70187b641a5b7404060422 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Tue, 3 Sep 2013 15:42:19 +0200 Subject: Fixed ICE-5358 - allow IceGrid replica to initialize its database from another replica --- cpp/src/IceGrid/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IceGrid/Client.cpp') diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index 9e079807446..e32641c607a 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -728,7 +728,7 @@ Client::run(StringSeq& originalArgs) { router->destroySession(); } - else + else if(session) { session->destroy(); } -- cgit v1.2.3