Skip to content

Commit dc0eec4

Browse files
The Mutex issue is fixed! (#106)
* The Mutex issue is fixed! * change log added * Update CHANGELOG.md --------- Co-authored-by: Zahid Zafar <> Co-authored-by: ArtursKadikis <[email protected]>
1 parent 1828d37 commit dc0eec4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
3+
22.09.0
4+
* Fixed a bug where 'mutex' was being locked twice when built with the 'COUNTLY_USE_SQLITE' flag.
5+
26
22.06.3
37
* Fixed a bug where empty metrics were sent with session begin request.
48

src/countly.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ void Countly::flushEvents(std::chrono::seconds timeout) {
438438
char *error_message;
439439

440440
update_failed = true;
441-
mutex->lock();
442441
return_value = sqlite3_open(database_path.c_str(), &database);
443442
mutex->unlock();
444443
if (return_value == SQLITE_OK) {

0 commit comments

Comments
 (0)