def close(self):
        """Close the contacless reader device."""
        with self.lock:
            if self.dev:
                try: self.dev.close()
                except __HOLE__: pass
                self.dev = None
dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/clf.py/ContactlessFrontend.close