PaxInstruments / t100-software

0 stars 1 forks source link

'Rescan Devices' crashes the program. #23

Closed kehribar closed 9 years ago

kehribar commented 9 years ago

If you click frequently enough, 'Rescan Devices' button crashes the program.

charlespax commented 9 years ago

It seems to be fine if I have no devices connected. I don't have any T100's with me to test.

We could have the program automatically scan for devices. What do you think a reasonable frequency would be? Is there a lot of system overhead in doing this?

Isn't there a system service we can hook into to be notified when a new device appears or disappears?

kehribar commented 9 years ago

It also happens when there are connected devices. Just check when you have time.

charlespax commented 9 years ago

I just confirmed that doing this will kill the program. I think this should be fixed before shipping the minimum viable product.

kehribar commented 9 years ago

This [https://github.com/PaxInstruments/t100-software/commit/c3d44d3fd982a5a9c58b8697e4dc36bde26bd1e1] commit should fix the problem.