|Posted by:||Catalin Petrisor (catalinpetris…@gmail.com)|
|Date:||Sat, 16 Jul 2005|
I am using the SMTPServer component from the latest Indy 10 snapshot. When I
stop the server with clients connected the server enters an infinite loop in
TIdScheduler.TerminateAllYarns (IdScheduler.pas unit). At that time the
server is not listening anymore for new connections and all client threads
are terminated. Only one thread named "idSMTPServerScheduler" (idSMTPServer
is the name of my smtp server component) is still running.
Can anybody explain why this thread is still running? The strange thing is
that this is not happening all the time, but only at least one client is in
the OnConnect phase.
Any help would be greatly appreciated.