destructor
nounEtymology Learned borrowing from Latin dēstrūctor. By surface analysis, destruct + -or.
1
One who destructs.
2
A furnace or oven for the burning or carbonizing of refuse.
3
A function that runs when an object is no longer required, used to release any resources that it was using.
Object-oriented programming