debug closeModules

This commit is contained in:
2025-03-14 22:45:44 -05:00
parent 0164c87481
commit f503c3589e

View File

@@ -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[]) {