summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbmodulechain.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-30 16:47:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-30 16:47:09 +0300
commit0a8a140351a533e2fb895228589efd2846b9c697 (patch)
treeea9b92130b2f6ab7304e496f20f8b88e0d7ca78f /plugins/Dbx_mdbx/src/dbmodulechain.cpp
parent3166b70501ec138496e04140f82147ea23d82420 (diff)
fix for asynchronous database flush to fix unsaved data
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbmodulechain.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbmodulechain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbmodulechain.cpp b/plugins/Dbx_mdbx/src/dbmodulechain.cpp
index daaaf494ff..0ab6b3eb58 100644
--- a/plugins/Dbx_mdbx/src/dbmodulechain.cpp
+++ b/plugins/Dbx_mdbx/src/dbmodulechain.cpp
@@ -52,6 +52,7 @@ uint32_t CDbxMDBX::GetModuleID(const char *szName)
}
m_Modules[iHash] = szName;
+ DBFlush();
}
return iHash;