Refactored main() a bit

This commit is contained in:
Phil Nash 2012-05-10 08:17:06 +01:00
parent b84444c501
commit d1beb539e8
4 changed files with 36 additions and 28 deletions

View file

@ -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