Skip to content

Commit 0e5fcea

Browse files
authored
Hold stop-go lock when requesting CCW (#71660)
1 parent b9b5c8f commit 0e5fcea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coreclr/debug/di/rsappdomain.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,8 +1082,9 @@ HRESULT CordbAppDomain::GetObjectForCCW(CORDB_ADDRESS ccwPointer, ICorDebugValue
10821082

10831083
PUBLIC_API_ENTRY(this);
10841084
FAIL_IF_NEUTERED(this);
1085-
10861085
VALIDATE_POINTER_TO_OBJECT(ppManagedObject, ICorDebugValue **);
1086+
ATT_REQUIRE_STOPPED_MAY_FAIL(GetProcess());
1087+
10871088
HRESULT hr = S_OK;
10881089

10891090
*ppManagedObject = NULL;

0 commit comments

Comments
 (0)