This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository legacy-imlib2.
View the commit online.
commit 687e13b290e868b893b6a2f3a1f935b0bf33522d
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Aug 18 18:43:11 2023 +0200
loading: Call module exit function also when not dlclosing module on unload
The proper thing to do.
Does not affect any of the current loaders.
---
src/lib/loaders.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/loaders.c b/src/lib/loaders.c
index 9e37a24..632b3fa 100644
--- a/src/lib/loaders.c
+++ b/src/lib/loaders.c
@@ -237,6 +237,9 @@ __imlib_ProduceLoader(const char *file)
static void
__imlib_ConsumeLoader(ImlibLoader * l)
{
+ if (l->module->inex)
+ l->module->inex(0);
+
if (l->module->ldr_flags & LDR_FLAG_KEEP)
{
/* Not un/re-loadable - Move to unloaded loaders list */
@@ -245,9 +248,6 @@ __imlib_ConsumeLoader(ImlibLoader * l)
return;
}
- if (l->module->inex)
- l->module->inex(0);
-
if (l->handle)
dlclose(l->handle);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.