reset infoStreams when the cache is invalid

This commit is contained in:
LotP1
2025-04-23 14:39:18 -05:00
committed by KeatonTheBot
parent df322e6d57
commit eb6a7b9fea
+3
View File
@@ -563,6 +563,9 @@ namespace ARMeilleure.Translation.PTC
{ {
if (AreCarriersEmpty() || ContainsBlacklistedFunctions()) if (AreCarriersEmpty() || ContainsBlacklistedFunctions())
{ {
_infosStream.SetLength(0);
_relocsStream.SetLength(0);
_unwindInfosStream.SetLength(0);
return; return;
} }