summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_sqlite/src')
-rwxr-xr-xplugins/Dbx_sqlite/src/dbintf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dbx_sqlite/src/dbintf.cpp b/plugins/Dbx_sqlite/src/dbintf.cpp
index 6fba828808..e0f45a7e18 100755
--- a/plugins/Dbx_sqlite/src/dbintf.cpp
+++ b/plugins/Dbx_sqlite/src/dbintf.cpp
@@ -18,8 +18,7 @@ CDbxSQLite::~CDbxSQLite()
UninitSettings();
if (m_db) {
- while ((rc = sqlite3_close(m_db)) == SQLITE_BUSY)
- ::SleepEx(50, TRUE);
+ rc = sqlite3_close(m_db);
logError(rc);
m_db = nullptr;