Swrve / swrve-android-sdk

Swrve Android SDK
http://www.swrve.com
Other
10 stars 18 forks source link

14628 - using single lock for event storage read/write #249

Closed dominicmarmionswrve closed 8 years ago

dominicmarmionswrve commented 8 years ago

https://swrvedev.jira.com/browse/SWRVE-14628 (Originally started here https://github.com/Swrve/swrve-android-sdk/pull/248)

Using one lock for sending events MemoryCachedLocalStorage.EVENT_LOCK. The old SwrveEventsManager had its own lock which was causing dupe events when a flush was done whilst sending events at the same time.

Sergio-Mira commented 8 years ago

🚀

dominicmarmionswrve commented 8 years ago

@Sergio-Mira @adam-govan can you take a look please?

Sergio-Mira commented 8 years ago

🚀