On 04/24/2012 05:01 PM, ZHANG Dao-yuan wrote:
I'm using tLTcp with tLEventer. I've set tLTcp.eventer to the associated tLEvent object and call tLEvent.callAction to wait for new events. After a socket disconnected, OnDisconnect gets called shipped with an aSocket:tLSocket parameter. Should I call aSocket.destroy explicitly to prevent the disconnected aSocket from leaking the memory?
Ok, the problem is resolved. We don't worry about it since thess memory is handled by Lnet. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal