From e0ba5c4035a76282eb9a10bfc2c2793392354eb3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jan 2021 18:16:52 +0300 Subject: no, it doesn't work this way :( --- plugins/Dbx_sqlite/src/dbintf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Dbx_sqlite') 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; -- cgit v1.2.3