I guess my question is what is the problem that portion would normally solve (in an ideal scenario, not necessarily in this specific one)? I'm assuming some sort of global scope leak type deal
It doesn't really matter in this case, it's more for 'good practice', like freeing all the resources at the end of the program even though it automatically happens when it exits.
View all comments
Show parent comment
1
u/Trainzkid Apr 09 '26
I guess my question is what is the problem that portion would normally solve (in an ideal scenario, not necessarily in this specific one)? I'm assuming some sort of global scope leak type deal