Skip to content

Global state confusion #15

@kavefish

Description

@kavefish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions