Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disconnected TCPServer thread won't terminate
#9
(04-19-2022, 03:36 PM)rlebeau Wrote: Why not OnConnect?

I'm trying one change at a time. I'll move it back to there before I'm done.

Quote:Did you check if the OnExecute event is still firing after calling Disconnect()?

Not since moving the disconnect to OnExecute. When I move it back I'll add a test for that.

Quote:Something else to try - see if calling AContext.Binding.CloseSocket() instead of AContext.Connection.Disconnect() makes any difference.

I'll try that next.
Reply


Messages In This Thread
RE: Disconnected TCPServer thread won't terminate - by kbriggs - 04-19-2022, 04:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)