Vincent Povirk : mscoree: Fix runtime shutdown code.

Alexandre Julliard julliard at winehq.org
Thu Nov 21 14:07:46 CST 2013


Module: wine
Branch: master
Commit: 3a2e88534e8dbd3917e35b540b3df73982d2ed24
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a2e88534e8dbd3917e35b540b3df73982d2ed24

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Nov 20 15:20:50 2013 -0600

mscoree: Fix runtime shutdown code.

---

 dlls/mscoree/corruntimehost.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index 9626662..b0a8b9d 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");




More information about the wine-cvs mailing list