Skip to content
Snippets Groups Projects
Commit d5cec3b0 authored by Esme Povirk's avatar Esme Povirk Committed by Alexandre Julliard
Browse files

mscoree: Avoid calling mono_image_open_from_module_handle for libraries.

parent 95d00e8e
No related branches found
No related tags found
No related merge requests found
......@@ -911,13 +911,9 @@ static void CDECL ReallyFixupVTable(struct dll_fixup *fixup)
{
host->mono->mono_thread_attach(domain);
image = host->mono->mono_image_open_from_module_handle(fixup->dll,
filenameA, 1, &status);
assembly = host->mono->mono_assembly_open(filenameA, &status);
}
if (image)
assembly = host->mono->mono_assembly_load_from(image, filenameA, &status);
if (assembly)
{
int i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment