Skip to content

Commit

Permalink
The Mutex issue is fixed! (#106)
Browse files Browse the repository at this point in the history
* The Mutex issue is fixed!

* change log added

* Update CHANGELOG.md

---------

Co-authored-by: Zahid Zafar <>
Co-authored-by: ArtursKadikis <[email protected]>
  • Loading branch information
ZahidZafar and ArtursKadikis authored Jan 31, 2023
1 parent 1828d37 commit dc0eec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@


22.09.0
* Fixed a bug where 'mutex' was being locked twice when built with the 'COUNTLY_USE_SQLITE' flag.

22.06.3
* Fixed a bug where empty metrics were sent with session begin request.

Expand Down
1 change: 0 additions & 1 deletion src/countly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ void Countly::flushEvents(std::chrono::seconds timeout) {
char *error_message;

update_failed = true;
mutex->lock();
return_value = sqlite3_open(database_path.c_str(), &database);
mutex->unlock();
if (return_value == SQLITE_OK) {
Expand Down

0 comments on commit dc0eec4

Please sign in to comment.