Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device, bridge and client listeners should be static #32

Open
daio opened this issue May 23, 2016 · 0 comments
Open

Device, bridge and client listeners should be static #32

daio opened this issue May 23, 2016 · 0 comments

Comments

@daio
Copy link

daio commented May 23, 2016

In Java version of the lib they're static. Is there a reason these event listeners are not static?
When they're not static it can lead to a data race when bridge is created because we cannot set any listeners until we have an instance of it. And we cannot populate a device list outside of the lib before we have an instance either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant