> Does this also free a HttpCli running in a thread ?
> PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0);

If the thread use the message loop from the CtrlSocket, then it will break
the loop and make the thread terminate. And thread termination could free
the object if you wrote the code for it.

If the thread use another message loop, then this will not do anything.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to