Right now, the _rfid_monitor keeps the serial port of the RFID reader blocked when the process crashes, for example because it is forcibly killed. As a result, the computer needs to be restarted in order to release the port. This should be fixed such that the serial port is automatically released in all cases, possibly using an atexit handler or an explicit pre-kill message that is sent from the client.
Right now, the
_rfid_monitorkeeps the serial port of the RFID reader blocked when the process crashes, for example because it is forcibly killed. As a result, the computer needs to be restarted in order to release the port. This should be fixed such that the serial port is automatically released in all cases, possibly using anatexithandler or an explicit pre-kill message that is sent from the client.