Fix performance problem introduced in previous change. (dotnet/coreclr#7783)
authorMike McLaughlin <mikem@microsoft.com>
Tue, 25 Oct 2016 01:59:13 +0000 (18:59 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Oct 2016 01:59:13 +0000 (18:59 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/35989ce51b8f60670186b80eef5fb9dba6127fd2

src/coreclr/src/dlls/dbgshim/dbgshim.cpp

index 4d6dc5a..aeee778 100644 (file)
@@ -433,7 +433,7 @@ public:
         DWORD arrayLength = 0;
 
         // Wake up runtime(s)
-        HRESULT hr = InternalEnumerateCLRs(&handleArray, &stringArray, &arrayLength);
+        HRESULT hr = EnumerateCLRs(m_processId, &handleArray, &stringArray, &arrayLength);
         if (SUCCEEDED(hr))
         {
             WakeRuntimes(handleArray, arrayLength);