flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Poll cold start fix

Open jnunemaker opened this issue 1 year ago • 1 comments
trafficstars

It's possible if using an adapter that doesn't retain state that a feature could be checked before the first background thread sync finishes. If this happens flipper thinks no features are enabled. That's not good. So let's avoid that by forcing a sync in the main thread.

Should we rescue around the sync and warn? Probably?

jnunemaker avatar Dec 17 '23 22:12 jnunemaker

Looks like I have failures to deal with first because the tests don't like doing the sync.

jnunemaker avatar Dec 17 '23 23:12 jnunemaker