More of a general/theoretical question:
Often times a Python code for ArcGIS Pro requires the statement "del aprx" at the very end, what does this statement do and is it necessary?
I recently ran a Python snippet changing data sources for a list of feature classes. Absentmindedly, I didn't include "del aprx" at the end, and the snippet ran successfully, but program froze afterward. Could the freeze be related to my omission of "del aprx"?