destructor

noun — 3 senses

destructor

noun

Etymology 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

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.