Commit fe4f0068 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

mscoree: Don't return from _CorExeMain.

Testing on Windows shows that unmanaged threads do not keep the process open after a .NET program's entry point and all .NET foreground threads have exited. Signed-off-by: 's avatarVincent Povirk <vincent@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 23181b40
......@@ -1524,6 +1524,8 @@ __int32 WINAPI _CorExeMain(void)
mono_runtime_quit();
}
ExitProcess(exit_code);
return exit_code;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment