mscoree: Fix runtime shutdown code.
This commit is contained in:
parent
19862b4138
commit
3a2e88534e
|
@ -254,7 +254,7 @@ void RuntimeHost_ExitProcess(RuntimeHost *This, INT exitcode)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
method = mono_class_get_method_from_name(klass, "Exit", 0);
|
method = mono_class_get_method_from_name(klass, "Exit", 1);
|
||||||
if (!method)
|
if (!method)
|
||||||
{
|
{
|
||||||
ERR("Couldn't get method from class\n");
|
ERR("Couldn't get method from class\n");
|
||||||
|
|
Loading…
Reference in New Issue