View Single Post
Re: What function runs when HL is shut down?
Old
  (#7)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: What function runs when HL is shut down? - 28-10-2004

It won't work if a crash is severe enough to prevent the operating system from unloading the library and the destructor may not be called.

I can see using a global class destructor call to decide some usefull things, but I don't know how to determine and guarantee the order of constructor/destructor calls, do you know how?


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote