On 05/25/2011 08:35 AM, Matthew Ong wrote:
On 5/25/2011 11:13 PM, Steven Schveighoffer wrote:
http://www.digitalmars.com/d/2.0/class.html#StaticDestructor
-Steve
Static Destructor maybe executed when the class is being unloaded GC?
Because this is a class level. It is more like the application level
exit and such.
There is a problem at Digital Mars's site. Steve must have meant the
module static destructor. Search for "Static Construction and
Destruction" on the module page:
http://www.digitalmars.com/d/2.0/module.html
(Do not click StaticDestructor at the top of the page. That is linked to
the class page.)
Ali