debug unload
This commit is contained in:
@@ -76,9 +76,13 @@ void App::load(std::string lib) {
|
||||
|
||||
void App::unload(decltype(Module::self) it) {
|
||||
void* handle = (*it)->getHandle();
|
||||
std::cout << "retrieved handle\nAttempting to delete module: " << (*it)->getName() << std::endl;
|
||||
delete *it;
|
||||
std::cout << "deleted module\n";
|
||||
dlclose(handle);
|
||||
std::cout << "closed handle\n";
|
||||
modules.erase(it);
|
||||
std::cout << "erased iterator\n";
|
||||
}
|
||||
|
||||
void App::handleArgs(const int& argc, char* argv[]) {
|
||||
|
||||
Reference in New Issue
Block a user