diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2016-06-30 15:49:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-30 15:49:46 -0700 |
commit | 7487889945fff12556f10c72ea9dc7732f7f0528 (patch) | |
tree | 438d0db1f983a52df8ee65ce3aefea7bb57202c2 /src/debug | |
parent | 9ceb6b6c4f1fd9d76a3d986750049bbed5bd0af8 (diff) | |
download | coreclr-7487889945fff12556f10c72ea9dc7732f7f0528.tar.gz coreclr-7487889945fff12556f10c72ea9dc7732f7f0528.tar.bz2 coreclr-7487889945fff12556f10c72ea9dc7732f7f0528.zip |
Fix the hang in the debugger tests repo on OS X. (#6079)
The transport pipe closes during shudown where blocked/deadlocked with the pending read on the transport thread.
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/debug-pal/unix/twowaypipe.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/debug/debug-pal/unix/twowaypipe.cpp b/src/debug/debug-pal/unix/twowaypipe.cpp index 7b2f54d8a1..db4599aeb9 100644 --- a/src/debug/debug-pal/unix/twowaypipe.cpp +++ b/src/debug/debug-pal/unix/twowaypipe.cpp @@ -162,18 +162,6 @@ bool TwoWayPipe::Disconnect() // since it is called from signal handlers. // That includes ASSERT and TRACE macros. - if (m_outboundPipe != INVALID_PIPE && m_outboundPipe != 0) - { - close(m_outboundPipe); - m_outboundPipe = INVALID_PIPE; - } - - if (m_inboundPipe != INVALID_PIPE && m_inboundPipe != 0) - { - close(m_inboundPipe); - m_inboundPipe = INVALID_PIPE; - } - if (m_state == ServerConnected || m_state == Created) { unlink(m_inPipeName); |