Exemplo n.º 1
0
 def __del__(cls):
     if hasattr(cls, '_cc_ptr'):
         cc_ptr = cls._as_component_class_ptr(cls._cc_ptr)
         native_bt.component_class_put_ref(cc_ptr)
Exemplo n.º 2
0
 def __del__(cls):
     if hasattr(cls, '_bt_cc_ptr'):
         cc_ptr = cls._bt_as_component_class_ptr(cls._bt_cc_ptr)
         native_bt.component_class_put_ref(cc_ptr)
         native_bt.bt2_unregister_cc_ptr_to_py_cls(cc_ptr)
Exemplo n.º 3
0
 def __del__(cls):
     if hasattr(cls, '_cc_ptr'):
         cc_ptr = cls._as_component_class_ptr(cls._cc_ptr)
         native_bt.component_class_put_ref(cc_ptr)