Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP/TCPServer Intercept
#2
(05-05-2022, 05:33 PM)kbriggs Wrote: Do I need to call AContext.Connection.Intercept.Free in the OnDisconnect event

No. The server will free the Intercept after firing the OnDisconnect event (unless the event handler raises an exception). But, even if the server didn't free the Intercept automatically, you are assigning the AContext.Connection as the Owner of the Intercept, so the Intercept would be freed anyway when the Connection is freed.

Reply


Messages In This Thread
HTTP/TCPServer Intercept - by kbriggs - 05-05-2022, 05:33 PM
RE: HTTP/TCPServer Intercept - by rlebeau - 05-05-2022, 05:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)