Releasing a unplugged virtual Serial Port
问题 I got a little problem with a USB Barcode Scanner. I am using the Scanner with the \"SerialPort\" class: this._barcodeScanner = new SerialPort(comPort, 9600, Parity.None, 8, StopBits.One) { Handshake = Handshake.None, ReadTimeout = 500, WriteTimeout = 500 }; this._barcodeScanner.Open(); this._barcodeScanner.DataReceived += BarcodeScannerCallback; If I unplug the USB Device while it´s opened via the \"SerialPort\" class, I can´t close the software properly and the virtual port stays open for