WIP. Using WIOService to handle Services

This commit is contained in:
emeric
2014-08-05 13:11:31 +02:00
parent f26e6cad7c
commit 9fdc9f41dd
12 changed files with 148 additions and 65 deletions
+3 -2
View File
@@ -27,7 +27,6 @@ ServiceManager::ServiceManager()
ServiceManager::~ServiceManager()
{
stopServices();
}
void
@@ -44,9 +43,11 @@ ServiceManager::run()
catch( std::exception& e )
{
std::cerr << "Caugh exception in service : " << e.what() << std::endl;
stopServices();
}
// Stopping services
stopServices();
std::cout << "ServiceManager::run complete!" << std::endl;
}