Fix memory leak in streak finder #3

Merged
augustin_s merged 15 commits from ext-dorofe_e/dap:cbd_bugfix into main 2025-07-15 10:21:21 +02:00
Showing only changes of commit c09bdc5b4e - Show all commits

View File

@@ -50,6 +50,7 @@ def calc_streakfinder_analysis(results, data, pf_pixel_mask):
_calc_streakfinder_analysis(results, cryst_data)
except Exception as error: # Broad exception - we don't want to break anything here
results["cbd_error"] = f"Error processing CBD data:\n{error}"
del cryst_data
return data