gotthardp / python-mercuryapi

Python wrapper for the ThingMagic Mercury API
MIT License
123 stars 63 forks source link

Freeing up Connection / Destroy Reader Object Method #84

Closed Chikenbagelz closed 5 years ago

Chikenbagelz commented 5 years ago

First of all let me thank you for all of your hard work creating this Python wrapper, it is amazing work Petr. My question is if there is a wrapped method for the destroy() method in the original C code to destroy the reader object and free up the connection? Thank you again for all of your work and I apologize if I just missed it.

gotthardp commented 5 years ago

Hello. Python has reference-counters and frees objects automatically when not needed, so the destroy method is called when (Python decides) the object is no longer needed.

Chikenbagelz commented 5 years ago

Perfect, thank you so much!