diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-20 18:16:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-20 18:16:52 +0300 |
commit | e0ba5c4035a76282eb9a10bfc2c2793392354eb3 (patch) | |
tree | 5e39c94b3c56bcf15d2eb2c26ac50dbb4d97c71e /plugins/Dbx_sqlite/src | |
parent | 38ed1a7c2395e8bb6b9e8a29646e6d068edf6263 (diff) |
no, it doesn't work this way :(
Diffstat (limited to 'plugins/Dbx_sqlite/src')
-rwxr-xr-x | plugins/Dbx_sqlite/src/dbintf.cpp | 3 |
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; |