A serial port JSON websocket server for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port.
SPJS forgets to unlock and mutex and reset a flag if it returns due to failing to open a serial port. This PR fixes that code path.