Re: static object destructor not getting called
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Mon, 21 May 2007 07:37:04 -0400
The memory leak report comes out before static objects are destructed.
joe
On 20 May 2007 21:12:50 -0700, Chimanrao <chimanrao@xxxxxxxxx> wrote:
hiJoseph M. Newcomer [MVP]
I have a static object in a file.
For some reasons its destructor is not getting called,
this object is supposed to free up the memory, and because of the
destructor not getting called , visual studio reports all of them as
memory leaks.
I am using VS 2005. Any suggestions?
Regards
Chimanrao
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- static object destructor not getting called
- From: Chimanrao
- static object destructor not getting called
- Prev by Date: Re: CMap causes program to crash on exit
- Next by Date: Re: Seeing VERSIONINFO under Vista?
- Previous by thread: Re: static object destructor not getting called
- Next by thread: Re: How to use InvalidateRect
- Index(es):
Relevant Pages
|