mixpanel / mixpanel-react-native

Official React Native Tracking Library for Mixpanel Analytics
https://mixpanel.com
Apache License 2.0
107 stars 48 forks source link

use semaphore to prevent concurrent access to properties object #188

Closed jaredmixpanel closed 1 year ago

jaredmixpanel commented 1 year ago

Attempt to fix https://github.com/mixpanel/mixpanel-react-native/issues/179

anirudhsama commented 1 year ago

Hey, this seems to have caused an issue where code gets stuck at await mixpanel.getDistinctId(). Was working fine in 2.2.3.

jaredmixpanel commented 1 year ago

Hey, this seems to have caused an issue where code gets stuck at await mixpanel.getDistinctId(). Was working fine in 2.2.3.

@anirudhsama Ack, will take a look. Thanks.

jaredmixpanel commented 1 year ago

@anirudhsama v2.2.5 should fix it. If not, feel free to open a new issue.

anirudhsama commented 1 year ago

Yes, it is fixed. Thanks!