Closed sapetnioc closed 10 months ago
The selection_changed
attribute is an Event
instance that is created on Pipeline
class. Therefore, callbacks registered on this event are probably never removed. PipelineDeveloperView
register a weakref callback that makes the code fail later when the corresponding objects are deleted.
There is a lot of cleanup in references / weakrefs to do, in PipelineDeveloperView
, for sure, but also in all Capsul code...
The following code raises an error. This code is extracted from a Notebook. The part that raises the exception can be executed if the beginning of the script is removed. I do not know yet what is the exact part that cause the problem.
The error is: