Behavior of the SerTest sample application included with TLazSerial:
My configuration: Windows7, Lazarus v 2.0.10, LazSerialPort 0.3., Profilic USB-COM1 - HW connection of pins 2 and 3.
- Connection COM1 OK, Start simulator OK - reading and writing data OK, processor load approx. 0-3%
- Stop simulator - OK, CPU load approx. 0%
- COM closing, application termination - CPU load 25% (!!!), COM can no longer be opened, application cannot be terminated
- application cannot be terminated, SerialRXData thread apparently blocks COM and prevents execution of Application.Terminate
Some ideas?