Commit 3a2e8853 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

mscoree: Fix runtime shutdown code.

parent 19862b41
......@@ -254,7 +254,7 @@ void RuntimeHost_ExitProcess(RuntimeHost *This, INT exitcode)
return;
}
method = mono_class_get_method_from_name(klass, "Exit", 0);
method = mono_class_get_method_from_name(klass, "Exit", 1);
if (!method)
{
ERR("Couldn't get method from class\n");
......
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