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:
parent
52beda1396
commit
633777e005
1 changed files with 2 additions and 0 deletions
|
|
@ -125,5 +125,7 @@ int main (int argc, char **argv)
|
|||
logger.writeToLog (newLine + "All tests completed successfully");
|
||||
Logger::setCurrentLogger (nullptr);
|
||||
|
||||
DeletedAtShutdown::deleteAll();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue