Skip to content

Handle device being unplugged during execution #19

@cathoderaydude

Description

@cathoderaydude

Right now this is unhandled and will probably produce a lot of error messages.

There should be a method that will tell me whether a device is connected and I should check it at the beginning of every poll timer tick. If it returns false the timer should shut itself and the event timer off, pop an error once, then return.

It may be worth it to just fix this by implementing multi device support which would include the requirement to index and switch devices dynamically during execution.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions