Skip to content

Commit

Permalink
replaced RTLD_NOLOAD with RTLD_LAZY
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo committed Apr 18, 2024
1 parent b1e8341 commit 14b0910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ LM_UnloadModule(const lm_module_t *module)
if (!module)
return LM_FALSE;

handle = dlopen(NULL, RTLD_NOLOAD); /* Get process first handle */
handle = dlopen(NULL, RTLD_LAZY); /* Get process first handle */
if (!handle)
return LM_FALSE;

Expand Down

0 comments on commit 14b0910

Please sign in to comment.