X-Guard / react-native-flic2

Use Flic 2 within your React Native application with ease.
Other
8 stars 9 forks source link

Getting exception on forgetAllButtons() method #25

Closed Saurabh-Sawla closed 6 months ago

Saurabh-Sawla commented 3 years ago

Dear Developer,

We are facing an issue on the react native flic library when we use forgetAllButtons() method. We have connected multiple devices to the application and when we perform a forgetAllButtons() method the application is crashing.

The crash log gives "java.util.ConcurrentModificationException:" so it seems the list you are managing for devices is modifed from more than two threads at a time and the forgetAllButtons operation failed.

Kindly have a look and let us know how can this issue be fixed.

Regards, Saurabh

smartanimaltraining commented 3 years ago

Thanks for the question! I am very interested in the response. Wes

jdegger commented 3 years ago

Hi, is forgetButton working for you?