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

Global state confusion #15

Open
kavefish opened this issue Aug 18, 2018 · 0 comments
Open

Global state confusion #15

kavefish opened this issue Aug 18, 2018 · 0 comments

Comments

@kavefish
Copy link

kavefish commented Aug 18, 2018

ADB.set_target_device() sets state globally.

This design decision is a problem in environments where concurrency is a requirement, which is what ultimately drove me to switch to Google's catapult/devil project.

Rather a single global target device setting, a safer alternative is to have each ADB instance keep its own reference to its selected device.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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