forked from lthn/blockchain
exceptions handling in bc_offers_service::~bc_offers_service()
This commit is contained in:
parent
75f3fb9500
commit
781273fb0c
1 changed files with 2 additions and 0 deletions
|
|
@ -31,8 +31,10 @@ namespace bc_services
|
|||
//------------------------------------------------------------------
|
||||
bc_offers_service::~bc_offers_service()
|
||||
{
|
||||
TRY_ENTRY();
|
||||
if (!m_deinitialized)
|
||||
deinit();
|
||||
CATCH_ENTRY_NO_RETURN();
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
bool bc_offers_service::init(const std::string& config_folder, const boost::program_options::variables_map& vm)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue