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