//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
_SecureRegistry::~_SecureRegistry(void)
{
- if (_write == true && _FileImpl::IsFileExist(_regPath) == true)
+ if (_write == true && _FileImpl::IsFileExist(_regPath) == true && _update == true)
{
this->Flush();
}