diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h index efde354b..557aa6b9 100644 --- a/include/internal/catch_interfaces_reporter.h +++ b/include/internal/catch_interfaces_reporter.h @@ -232,6 +232,11 @@ namespace Catch unusedGroupInfo.reset(); } virtual void testRunEnded( Ptr const& /* _testRunStats */ ) { + currentSectionInfo.reset(); + unusedSectionInfo.reset(); + unusedTestCaseInfo.reset(); + unusedGroupInfo.reset(); + testRunInfo.reset(); } ReporterConfig m_config;