WIP. Using WIOService to handle Services
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user