reset infoStreams when the cache is invalid

This commit is contained in:
LotP1 2025-04-22 21:42:41 -05:00 committed by KeatonTheBot
parent df322e6d57
commit eb6a7b9fea

View file

@ -563,6 +563,9 @@ namespace ARMeilleure.Translation.PTC
{
if (AreCarriersEmpty() || ContainsBlacklistedFunctions())
{
_infosStream.SetLength(0);
_relocsStream.SetLength(0);
_unwindInfosStream.SetLength(0);
return;
}