debug closeModules
This commit is contained in:
@@ -90,10 +90,10 @@ void App::unload(decltype(Module::self) it) {
|
||||
}
|
||||
|
||||
void App::closeModules() {
|
||||
for(auto it = toClose.begin(); it != toClose.end(); it++) {
|
||||
dlclose(*it);
|
||||
it = toClose.erase(it);
|
||||
for(auto h : toClose) {
|
||||
dlclose(h);
|
||||
}
|
||||
toClose.clear();
|
||||
}
|
||||
|
||||
void App::handleArgs(const int& argc, char* argv[]) {
|
||||
|
||||
Reference in New Issue
Block a user