CIL
CIL copied to clipboard
AstraProjector2D leaks memory
Description
AstraBackProjector2D.__init__() and AstraForwardProjector2D.__init__() create Astra projector objects, but never delete them (using astra.projector.delete(proj_id)) as far as I can tell. A small complication is that these functions can also receive a projector from the user, in which case it presumably(?) shouldn't be deleted.
Environment
24.3.1.dev22+g51cc36d5 g51cc36d5 3.10.16 | packaged by conda-forge | (main, Apr 3 2025, 14:23:09) [GCC 13.3.0] linux