May 26, 2011
>> On 5/25/11, Steven Schveighoffer<schveiguy@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.
>
Perhaps writing a mixin at module where the main method is located will do that exactly.

others may be dll and could be unloaded and cause __dtor to be called.

Will try such direction. Thanks people.

-- 
Matthew Ong
email: ongbp@yahoo.com

1 2
Next ›   Last »