Reset PPTC Carriers on invalidation

This commit is contained in:
LotP1
2025-04-24 14:09:26 -05:00
committed by KeatonTheBot
parent eb6a7b9fea
commit 4bcfae5905
+1 -3
View File
@@ -563,9 +563,7 @@ namespace ARMeilleure.Translation.PTC
{ {
if (AreCarriersEmpty() || ContainsBlacklistedFunctions()) if (AreCarriersEmpty() || ContainsBlacklistedFunctions())
{ {
_infosStream.SetLength(0); ResetCarriersIfNeeded();
_relocsStream.SetLength(0);
_unwindInfosStream.SetLength(0);
return; return;
} }