onepf / OpenIAB

Open In-App Billing for Google Play, SlideMe, Amazon Store, Nokia Store, Samsung Apps, Yandex.Store, Appland, Aptoide, AppMall and Fortumo.
http://onepf.org/openiab/
Apache License 2.0
476 stars 171 forks source link

Concurrent access to non volatile variable #429

Closed RomanZhilich closed 9 years ago

RomanZhilich commented 9 years ago

setupState is accessed from background thread in consumeAsyncInternal() and queryInventoryAsync(). It should be volatile.