Commit a8db9fab authored by Johan Dahlin's avatar Johan Dahlin

Do not call g_module_close before using symbols

We cannot reliably use symbols from a module after
we called dlclose() on them :-)
parent 1be42082
......@@ -439,7 +439,6 @@ LLVMCompiler::getNativeAddress(GIFunctionInfo *info)
const gchar * symbol = g_function_info_get_symbol(info);
GModule *m = g_module_open(shlib, G_MODULE_BIND_LAZY);
g_module_symbol(m, symbol, &nativeAddress);
return nativeAddress;
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