Any application shutdown hooks?

Matthew Ong ongbp at yahoo.com
Wed May 25 22:17:11 PDT 2011


On 5/26/2011 12:23 AM, Andrej Mitrovic wrote:
> On 5/25/11, Steven Schveighoffer<schveiguy at yahoo.com>  wrote:
>> If you want a static dtor that runs on every thread shutdown, use a normal
>> static dtor.  If you want one that runs on the entire application
>> shutdown, use a shared static dtor.
>
> I saw some commits change a static dtor to a shared static dtor and
> wondered what was that all about..
Thanks a lot for the all the comments and instructions shown here.

-- 
Matthew Ong
email: ongbp at yahoo.com



More information about the Digitalmars-d-learn mailing list