mscoree: Fix runtime shutdown code.

This commit is contained in:
Vincent Povirk 2013-11-20 15:20:50 -06:00 committed by Alexandre Julliard
parent 19862b4138
commit 3a2e88534e
1 changed files with 1 additions and 1 deletions

View File

@ -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");