diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-21 18:06:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-21 18:09:19 +0300 |
commit | f7001757a832e948645713a94739f66b07d5f2c1 (patch) | |
tree | 8accc928f2eadf5940a336f9be639b3f27e921a6 /plugins/Db3x_mmap/src/dbintf.cpp | |
parent | 6119b7865f7890d9bfc627d35d8e1262c2690e9c (diff) |
DATABASELINK::Unload method replaced with the virtual destructor of MDatabaseCommon
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbintf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp index dc775b82b1..be36e4bdd7 100644 --- a/plugins/Db3x_mmap/src/dbintf.cpp +++ b/plugins/Db3x_mmap/src/dbintf.cpp @@ -59,6 +59,8 @@ CDb3Mmap::CDb3Mmap(const wchar_t *tszFileName, int iMode) : CDb3Mmap::~CDb3Mmap()
{
+ g_Dbs.remove(this);
+
// destroy modules
HeapDestroy(m_hModHeap);
|