summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2018-08-13 11:14:18 -0700
committerAndrew Au <cshung@gmail.com>2018-11-06 18:34:47 -0800
commitd5bb5d5b48feba48dbfe561c093a2b38e6f0e99d (patch)
tree6527fe6a1ac36342c7590f2bbfcb502ab70d8ff8 /src/debug
parenta37aa3ac04cfbb6da2d39872cb0b546c10915cad (diff)
downloadcoreclr-d5bb5d5b48feba48dbfe561c093a2b38e6f0e99d.tar.gz
coreclr-d5bb5d5b48feba48dbfe561c093a2b38e6f0e99d.tar.bz2
coreclr-d5bb5d5b48feba48dbfe561c093a2b38e6f0e99d.zip
More code review feedback
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/di/process.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index c03332c3b0..fffc6d943b 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -2570,7 +2570,13 @@ COM_METHOD CordbProcess::GetContainingObject(CORDB_ADDRESS interiorPointer, ICor
COM_METHOD CordbProcess::EnableGCNotificationEvents(BOOL fEnable)
{
- return this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable);
+ HRESULT hr = S_OK;
+ PUBLIC_API_BEGIN(this)
+ {
+ hr = this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable);
+ }
+ PUBLIC_API_END(hr);
+ return hr;
}
#ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL