Use weak pointers to make sure that the recv callback does not destroy our object...
commit3fa42f2bad8eac7e24d8e4644336bb7e81d66ef6
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Thu, 4 Feb 2010 22:29:08 +0000 (4 17:29 -0500)
committerYouness Alaoui <youness.alaoui@collabora.co.uk>
Tue, 16 Feb 2010 22:38:15 +0000 (16 17:38 -0500)
treeedee7981327d04971d214cb5ba7a7ff99a814e94
parent502184117903aa6bfa3abc72a454f561ec88b70f
Use weak pointers to make sure that the recv callback does not destroy our object, and if it does, make sure not to use the agent or PseudoTcpSocket to avoid a crash
agent/agent.c