Re: Memory leak in version 9 TIdTCPServer. Help!

Giganews Newsgroups
Subject: Re: Memory leak in version 9 TIdTCPServer. Help!
Posted by:  Clayton Arends (nospam_claytonarends@hotmail.com)
Date: Tue, 5 Apr 2005

I modified my test app and added OnConnect and OnDisconnect event handlers.
Every time a connection is established the OnConnect event gets called.
But, the OnDisconnect is not called until the app closes ... and then it is
called once for every thread that was ever opened.

FFreeIOHandlerOnDisconnect is set to TRUE but something seems to not quite
be working correctly internally.  I will continue tracking this down to see
where the oddness might be coming from.

And, to clarify, I have not modified the baseline code.

- Clayton

Replies

In response to

Memory leak in version 9 TIdTCPServer. Help! posted by Clayton Arends on Mon, 4 Apr 2005