From: Sungjun, Lee Date: Wed, 19 Apr 2017 07:38:24 +0000 (+0900) Subject: [SECIOTSW-530] Catch exceptions of type 'runtime::Exception' in '~Client()' X-Git-Tag: submit/tizen/20170420.063314~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efa5526fba002f1595d4444b56471433ec23c492;p=platform%2Fcore%2Fsecurity%2Fklay.git [SECIOTSW-530] Catch exceptions of type 'runtime::Exception' in '~Client()' Signed-off-by: Sungjun, Lee Change-Id: I8f52e3386e5a80675da0c83d682c9544f6c4a321 [WGID: 207329] '~Client()' doesn't catch exceptions of type 'runtime::Exception' --- diff --git a/src/rmi/client.cpp b/src/rmi/client.cpp index 4d5f462..d6e7bfa 100644 --- a/src/rmi/client.cpp +++ b/src/rmi/client.cpp @@ -24,7 +24,9 @@ Client::Client(const std::string& path) : Client::~Client() { - disconnect(); + try { + disconnect(); + } catch (runtime::Exception& e) {} } void Client::connect()