bbc / hive-runner-android

Android module for Hive Runner
MIT License
6 stars 2 forks source link

Concurrency problem with controller #69

Open wordswords opened 8 years ago

wordswords commented 8 years ago

As noted in the comments, if the controller cannot connect to hivemind initially, but detects hivemind later on in the process when it reaches the if statement in detect(), then it will cause an error. There needs to be just one hivemind connection check and everything should be based on that result.