diff options
author | Andrew Au <andrewau@microsoft.com> | 2018-08-06 15:04:37 -0700 |
---|---|---|
committer | Andrew Au <cshung@gmail.com> | 2018-11-06 18:34:47 -0800 |
commit | e467645dbefa58e144a42c3b742cee859b68d55d (patch) | |
tree | 444d191807b45be67e0bbf8a4f5dfce74b6f24b3 /src/vm/threadsuspend.cpp | |
parent | 44f9453071131406569ea6167baf494b2ab11926 (diff) | |
download | coreclr-e467645dbefa58e144a42c3b742cee859b68d55d.tar.gz coreclr-e467645dbefa58e144a42c3b742cee859b68d55d.tar.bz2 coreclr-e467645dbefa58e144a42c3b742cee859b68d55d.zip |
Fixing the deadlocks
Diffstat (limited to 'src/vm/threadsuspend.cpp')
-rw-r--r-- | src/vm/threadsuspend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/threadsuspend.cpp b/src/vm/threadsuspend.cpp index 822c396455..1902d82ba6 100644 --- a/src/vm/threadsuspend.cpp +++ b/src/vm/threadsuspend.cpp @@ -7108,7 +7108,7 @@ retry_for_debugger: || Thread::ThreadsAtUnsafePlaces() #ifdef DEBUGGING_SUPPORTED // seriously? When would we want to disable debugging support? :) || (CORDebuggerAttached() && - g_pDebugInterface->ThreadsAtUnsafePlaces()) + (g_pDebugInterface->ThreadsAtUnsafePlaces() || g_pDebugInterface->IsSynchronizing())) #endif // DEBUGGING_SUPPORTED ) { |