The following is a one line change to nfc/device.go . Earlier code was not closing the NFC reader. In my case, it was clearly visible with an led on SCL3711 staying lit after device.Close(). This one line swap fixed it. Please note that this is to the 2.0 branch. I could not compile the dev branch, probably because of version difference with libnfs. Since 2.0 is your stable branch, I made it for 2.0. Please make the same change to dev branch as well.
The following is a one line change to nfc/device.go . Earlier code was not closing the NFC reader. In my case, it was clearly visible with an led on SCL3711 staying lit after device.Close(). This one line swap fixed it. Please note that this is to the 2.0 branch. I could not compile the dev branch, probably because of version difference with libnfs. Since 2.0 is your stable branch, I made it for 2.0. Please make the same change to dev branch as well.