​After termintate you need to wait the thread to stop, WaitFor here the
function.
Search for WaitFor​ in
https://sourceforge.net/p/minilib/source/ci/master/tree/socket/source/mnServers.pas

On Thu, May 2, 2013 at 8:57 PM, silvioprog <silviop...@gmail.com> wrote:

> destructor TTcpIpServerSocketThread.Destroy;
> begin
>   FSocket.StopAccepting;
>   FSocket.Free;
>   inherited Destroy;
> end;
>




-- 
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3

Best Regards
Zaher Dirkey
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to