mscoree: Fix runtime shutdown code.

Vincent Povirk madewokherd at gmail.com
Wed Nov 20 15:26:09 CST 2013


-------------- next part --------------
From d82c3a88b609089c4bd17541f5edb3fa945492a6 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
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 554f4c5..3c576ef 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");
-- 
1.8.1.2


More information about the wine-patches mailing list