diff options
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r-- | src/modules/database/database.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index dc55487878..a1c4514092 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -28,6 +28,7 @@ extern TCHAR mirandabootini[MAX_PATH]; bool dbCreated;
TCHAR g_profileDir[MAX_PATH], g_profileName[MAX_PATH];
TCHAR* g_defaultProfile;
+void EnsureCheckerLoaded(bool);
bool fileExist(TCHAR* fname)
{
@@ -487,6 +488,8 @@ int LoadDatabaseModule(void) if ( !getProfile(szProfile, SIZEOF(szProfile)))
return 1;
+ EnsureCheckerLoaded(false); // unload dbchecker
+
if ( arDbPlugins.getCount() == 0) {
TCHAR buf[256];
TCHAR* p = _tcsrchr(szProfile, '\\');
|