bt2: remove BT CC entry from global HT in _UserComponentType.__del__()
[babeltrace.git] / src / bindings / python / bt2 / bt2 / component.py
index a057019aa379c37cb7af3f471b2fe46cb070a146..31f6372532f7d58b317b1301e2dbc6da7369a341 100644 (file)
@@ -617,6 +617,7 @@ class _UserComponentType(type):
         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)
 
 
 # Subclasses must provide these methods or property:
This page took 0.023136 seconds and 4 git commands to generate.