[ROOT] Destructors, stack objects

From: Timur Pocheptsoff (tpochep@mail.ru)
Date: Mon Sep 23 2002 - 07:53:29 MEST


Hi.
I use my own house-breed debug new/delete and I have a problem.

In my programm I have some stack objects

int main(){

	FiendFrame myFrame(...);//some //parameters, stack object 
	TApplication theApp(...);//some //parameters
	theApp->Run();

	return 0;
}

In FiendFrame::CloseWindow I call Terminate(0) (gApplication->Terminate(0);)
and in my memleaks.log file there are some strings, which show me, that myFrame destructor wasn't called. What does Terminate(0) do?



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET