destructor

Attribute Macro destructor 

Source
#[destructor]
Expand description

Registers a function to be called after main (if an executable) or when unloaded (if a dynamic library).