Cleanup debugger client shutdown
commit601ca57f5398c2862de673353d8bee2c7c66a0b6
authorMike Magruder <mikemag@fb.com>
Wed, 17 Jul 2013 19:55:59 +0000 (17 12:55 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 19 Jul 2013 00:28:40 +0000 (18 17:28 -0700)
tree8898613bd3bccc76b9d63c18a7b71696e727990b
parentee2cd8d32e8c93feee84c7660837ccb98d21b5bd
Cleanup debugger client shutdown

The exit path for the debugger client has always been a little odd. We'd call a shutdown function which would destroy the client, then later call a stop function which would first make a new client, then stop it, then that one would get destroyed later. Made it so we stop and destroy just one client.
hphp/runtime/base/program_functions.cpp
hphp/runtime/debugger/debugger_client.cpp
hphp/runtime/debugger/debugger_client.h
hphp/runtime/debugger/dummy_sandbox.cpp