Beispiel #1
0
 def _release_native_object(self):
     if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL:
         _lib.wolfSSL_CTX_free(self.native_object)
         self.native_object = _ffi.NULL
 def _release_native_object(self):
     if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL:
         _lib.wolfSSL_CTX_free(self.native_object)
         self.native_object = _ffi.NULL
Beispiel #3
0
 def __del__(self):
     if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL:
         _lib.wolfSSL_CTX_free(self.native_object)
 def __del__(self):
     if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL:
         _lib.wolfSSL_CTX_free(self.native_object)