Re: [Harbour] Destructors of static scope variables

2009-10-26 Thread Przemysław Czerpak
On Mon, 26 Oct 2009, Alex Strickland wrote: Hi > Is it expected behavior that this program does not output "Destructor"? > #include "hbclass.ch" > static oMSCAL [...] > If I set oMSCAL to nil it does work of course. Yes it's expected. Destructors are not executed for when static variables are cl

Re: [Harbour] Destructors of static scope variables

2009-10-26 Thread Mindaugas Kavaliauskas
Hi, Alex Strickland wrote: Is it expected behavior that this program does not output "Destructor"? ... If I set oMSCAL to nil it does work of course. I've not looked to destructor execution order on exit. But try to change ? "Destructor" to HB_MEMOWRIT("debug.log", "Destructor") It is po