1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

UnitTestRunner: call DeletedAtShutdown::deleteAll() before exiting

This allows us to exercise classes using DeletedAtShutdown in tests,
without triggering leaked object warnings
This commit is contained in:
attila 2024-12-17 17:56:28 +01:00
parent 52beda1396
commit 633777e005

View file

@ -125,5 +125,7 @@ int main (int argc, char **argv)
logger.writeToLog (newLine + "All tests completed successfully");
Logger::setCurrentLogger (nullptr);
DeletedAtShutdown::deleteAll();
return 0;
}