From 3a2e88534e8dbd3917e35b540b3df73982d2ed24 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 20 Nov 2013 15:20:50 -0600 Subject: [PATCH] mscoree: Fix runtime shutdown code. --- dlls/mscoree/corruntimehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index 96266621d2e..b0a8b9dd928 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -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");