[fpc-pascal] does disconnected tLSocket auto destroy in lnet
ZHANG Dao-yuan
1123monkey at gmail.com
Tue Apr 24 11:01:13 CEST 2012
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?
More information about the fpc-pascal
mailing list