Commit d57b277b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not unload plugins in debug builds. Not sure if this is a good idea though

parent aceceed7
......@@ -1493,7 +1493,9 @@ static void CloseModule( module_handle_t handle )
FreeLibrary( handle );
#elif defined(HAVE_DL_DLOPEN)
# ifndef NDEBUG
dlclose( handle );
# endif
#elif defined(HAVE_DL_SHL_LOAD)
shl_unload( handle );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment