Add more log
All checks were successful
gitea-sync/ant-http/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-01-16 23:23:52 +01:00
parent a1acea2441
commit eed2e9c1af

View File

@ -195,6 +195,7 @@ void unload_plugin(struct plugin_entry *np)
(*fn)(); (*fn)();
} }
dlclose(np->handle); dlclose(np->handle);
LOG("Unloaded %s", np->pname);
// free((void *) np->handle); // free((void *) np->handle);
if (np->pname) if (np->pname)
free((void *)np->pname); free((void *)np->pname);