Skip to content

Commit

Permalink
assert is too strict
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov committed May 28, 2024
1 parent 970ab8c commit 409dfcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/coreclr/vm/frames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,6 @@ GCFrame::GCFrame(Thread *pThread, OBJECTREF *pObjRefs, UINT numObjRefs, BOOL may
}
CONTRACTL_END;

_ASSERTE_MSG(pThread->m_generation == 0, "generation should be reset when running managed code");

#ifdef USE_CHECKED_OBJECTREFS
if (!maybeInterior) {
UINT i;
Expand Down

0 comments on commit 409dfcc

Please sign in to comment.