Closed S2Ler closed 2 years ago
Fixes #316
There are three data-races found during running sendTurnstileEvent multiple times:
sendTurnstileEvent
MMELocationManager
MMEMetricsManager
MMEUniqueIdentifier
All these classes modify shared state which is accessed from multiple Dispatch Queue threads due to how sendTurnstileEvent is implemented.
Alternative solution can be running sendTurnstileEvent only one at a time.
Fixes #316
There are three data-races found during running
sendTurnstileEvent
multiple times:MMELocationManager
MMEMetricsManager
MMEUniqueIdentifier
All these classes modify shared state which is accessed from multiple Dispatch Queue threads due to how
sendTurnstileEvent
is implemented.Alternative solution can be running
sendTurnstileEvent
only one at a time.