using App::Get() in module segfaults?
This commit is contained in:
@@ -41,6 +41,8 @@ void App::run() {
|
||||
for(auto it = modules.begin(); it != modules.end(); it++) {
|
||||
std::cout << "Running module: " << (*it)->getName() << std::endl;
|
||||
(*it)->run();
|
||||
std::cout << "Module ran successfully\n";
|
||||
end();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user