Cleanup the mess we make.
[invirt/packages/python-afs.git] / afs / _pts.pyx
index 6678418..43a0f03 100644 (file)
@@ -11,3 +11,6 @@ cdef class PTS:
         code = a.rx_Init(0)
         if code != 0:
             raise Exception(str(code))
+    
+    def __dealloc__(self):
+        a.rx_Finalize()