04-19-2022, 04:28 PM
(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.