Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdSmtpServer not freeing threads
#3
Remy;

These seem most likely, I will review my code carefully and make certain I am not leaving anything hanging.

As always thanks for your kind assistance,

-Allen

(10-24-2018, 06:48 PM)rlebea u Wrote: That typically happens when either:
  • your server command event handlers are catching and discarding Indy exceptions without letting the server handle them internally, so it doesn't know when clients are no longer valid so it can stop their threads.  At the very least, if you catch exceptions in your code, you should re-raise any EIdException-derived exception you catch (except in the OnException and OnListenException events, of course).
  • you encounter a deadlock within an event handler, causing the calling thread to not fully terminate.
Reply


Messages In This Thread
TIdSmtpServer not freeing threads - by bluewwol - 10-24-2018, 05:04 PM
RE: TIdSmtpServer not freeing threads - by bluewwol - 10-24-2018, 11:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)