Solenoid
Solenoid

Reputation: 2381

Chrome crash on device unplug using serial API

I'm making an application for Chrome based on the serial API in order to send and receive data from a USB device that registers as a virtual serial port.

The problem I'm having is that when I remove the device and the connection is established the browser crashes and I don't have any idea why as the debug console also closes and the Chrome crash reporting (chrome://crashes) isn't showing anything (OSX 10.9.4, Chrome 37.0.2062.94). I suspect a low level exception in Chrome that isn't caught. The best I can do is an Apple crash report.

Is there any way to prevent the browser from crashing (some check before the browser thinks it's in an illegal state...), I know the simple answer is not to unplug while the device is connected, but I'd like a more monkey-proof solution.

Upvotes: 0

Views: 237

Answers (0)

Related Questions