Hi Thomas
I recently ran into a crash when calling the GarbageCollector
smart_purge method, and finally figured out that it was because of
TopTools_XX references returned by some TopTools_XX classes, for which
_kill_pointed() should of course *not* be called. The specific
class/method I was using was:
TopTools_IndexedDataMapOfShapeListOfShape:
const TopTools_ListOfShape & FindFromIndex (const Standard_Integer I)
const
I suspect other TopTools classes might suffer from the same issue.
Should these "TopTools_XX &" returned references be handled using the
same special case handling as "gp" and "TopoDS" returned references (in
ModularBuilder.process_by_ref_argument)?
Thanks,
Frank Conradie
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users