Fix stop_debugger_thread () on windows. Shutdown both ends of the connection socket...
commit0279754c4fa86aea11636ab6b8477c4660f4b00a
authorZoltan Varga <vargaz@gmail.com>
Thu, 24 Feb 2011 18:06:17 +0000 (24 19:06 +0100)
committerZoltan Varga <vargaz@gmail.com>
Thu, 24 Feb 2011 18:16:27 +0000 (24 19:16 +0100)
treeebf36e5d543b44335aa4475b7cfe7e914cc967a7
parent46bd99ff7c615f02d2c16f239ffd98f1afb3d399
Fix stop_debugger_thread () on windows. Shutdown both ends of the connection socket since shutting down only the receive part doesn't seem to work on windows. Wait for the debugger thread to exit in a loop, since we don't use condvars on windows.
mono/mini/debugger-agent.c