gerritv / Grbl-Panel

A control panel for Grbl
MIT License
180 stars 102 forks source link

crash on usb unplug #110

Closed ScottTu closed 7 years ago

ScottTu commented 7 years ago

unhandled error if you unplug the usb cord after being connected.

gerritv commented 7 years ago

I can't duplicate this.

ScottTu commented 7 years ago

next time it happens I'll get some more error info. I'm using a desktop cnc with an arduino controller.

electrokean commented 7 years ago

It is very likely dependant on the specific USB serial interface (FTDI, 16U2, CH340) and version of Windows driver you have.

ScottTu commented 7 years ago

could be, its not a critical bug but I've had it do it while resetting the machine or powering it off after cutting.

ScottTu commented 7 years ago

error.txt win7 64, ch340 serial adapter on the arduino.

gerritv commented 7 years ago

I'll add an exception handler for Denied, that should take care of the issue.

ScottTu commented 7 years ago

thanks and thanks for the great program too.

gerritv commented 7 years ago

Fixed