Commit 659f100d authored by Matthieu Dorier's avatar Matthieu Dorier

added cleanup call in destructor of DataStoreImpl

parent 471c3946
...@@ -65,6 +65,10 @@ class DataStoreImpl { ...@@ -65,6 +65,10 @@ class DataStoreImpl {
: m_mid(MARGO_INSTANCE_NULL) : m_mid(MARGO_INSTANCE_NULL)
{} {}
~DataStoreImpl() {
cleanup();
}
void populateDatabases(DistributedDBInfo& db_info, const YAML::Node& db_config) { void populateDatabases(DistributedDBInfo& db_info, const YAML::Node& db_config) {
int ret; int ret;
hg_return_t hret; hg_return_t hret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment