mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 22:19:25 +00:00
Refactored main() a bit
This commit is contained in:
parent
b84444c501
commit
d1beb539e8
4 changed files with 36 additions and 28 deletions
|
@ -140,7 +140,9 @@ namespace Catch
|
|||
Config config;
|
||||
// if( isDebuggerActive() )
|
||||
// config.useStream( "debug" );
|
||||
return Main( argc, argv, config );
|
||||
int result = Main( argc, argv, config );
|
||||
Catch::Context::cleanUp();
|
||||
return result;
|
||||
}
|
||||
|
||||
} // end namespace Catch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue