This commit is contained in:
2025-03-18 00:26:29 -05:00
parent fbc78e5f1c
commit c9d477bbb2

View File

@@ -32,6 +32,7 @@ App::~App() {
bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
std::cout << "print twice!\n";
void* h = dlopen(lib.c_str(), RTLD_NOW);
if(!h) {
@@ -47,7 +48,6 @@ bool App::load(std::string lib, std::list<std::string> blacklist = {}) {
Module* m = create(h, App::Get());
std::cout << "print twice!\n";
if(!blacklist.empty()) {
std::cout << "second round!\n";
for(auto it = blacklist.begin(); it != blacklist.end(); it++) {