def close(self):
        with self.lock:
            if self.dev:
                try: self.dev.close()
                except IOError: pass
                self.dev = None
own implementation of pm.repeatLast
dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/clf.py/ContactlessFrontend.close--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/repeat_last