Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : EAbort when shutting down IdTCPServer
| Subject: | EAbort when shutting down IdTCPServer |
| Posted by: | "John Carlyle-Clarke" (jpcc@removethis.bigfoot.com) |
| Date: | 18 May 2006 11:54:53 |
Using Indy sockets 10.1.5.
I quite often get an EAbort exception when shutting down the
application, whic
The Abort comes from line 844 of IdCustomTCPServer (Sys.Abort).
The OnClose handler of my main form looks like this:
procedure TfrmMain.FormClose(Sender: TObject; var Action:
TCloseAction);
begin
IdTCPServer1.Active := false;
Cursor := crHourGlass;
Sleep(500);
end;
Is this normal behaviour?
For some reason, even though "VCL EAbort Exceptions" is ticked in the
debugger options -> Language Exceptions -> Exception types to ignore,
it still breaks here every time.