rudderlabs / rudder-sdk-android

Android SDK for RudderStack - the Customer Data Platform for Developers.
https://www.rudderstack.com
Other
18 stars 29 forks source link

fix: database crash issue #449

Closed 1abhishekpandey closed 3 months ago

1abhishekpandey commented 3 months ago

Description

In this PR, we attempt to fix the DB crash issue occurring for a few % of users. This happens while the SDK is being initialised. We have removed the queue-related logic to prevent any hidden thread-related issues. Additionally, since we are now calling saveEvent() from the executor in the repository class, we no longer need a separate executor for the DBInsertionHandlerThread instance creation.

Fixes # (issue)

Type of change

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud