zayin wrote: >> ..happens, for instance, _if the destination Window has been >> destroyed after the call to PostMessage > > Because the program is ending when the leak occurs that is exactly > what I think is occurring. > > So, after I close all the clients, I call now server.ProcessMessages > and that seems to handle the leak. > > Do you see any problem with that solution?
Don't know, generaly I try to avoid calling the message pump, in case of destroying the TWSocketServer object it's better to "abort" all clients, have you tried method DisconnectAll already? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be