mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
fixed GH #141: Application::run() documentation/implementation discrepancy
This commit is contained in:
@@ -318,12 +318,12 @@ void Application::stopOptionsProcessing()
|
||||
int Application::run()
|
||||
{
|
||||
int rc = EXIT_CONFIG;
|
||||
initialize(*this);
|
||||
|
||||
try
|
||||
{
|
||||
initialize(*this);
|
||||
rc = EXIT_SOFTWARE;
|
||||
rc = main(_unprocessedArgs);
|
||||
uninitialize();
|
||||
}
|
||||
catch (Poco::Exception& exc)
|
||||
{
|
||||
@@ -337,6 +337,8 @@ int Application::run()
|
||||
{
|
||||
logger().fatal("system exception");
|
||||
}
|
||||
|
||||
uninitialize();
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user