[Mono-bugs] [Bug 438454] ProcessExit event fires while threadpool thread is running

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 10 17:02:31 EDT 2010



Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jpryor at novell.com
         Resolution|                            |FIXED

--- Comment #5 from Jonathan Pryor <jpryor at novell.com> 2010-06-10 21:02:30 UTC ---
Fixed in trunk, r158809:

r158809 | jonpryor | 2010-06-10 17:01:08 -0400 (Thu, 10 Jun 2010) | 12 lines

        * mini/mini.c (mini_cleanup): Call mono_runtime_shutdown(). 
          Fixes #438454.
        * metdata/object.c (mono_runtime_run_main): Move 
          fire_process_exit_event() into runtime.c:mono_runtime_shutdown().
        * metdata/runtime.c: Added; adds mono_runtime_shutdown(), which invokes
          the AppDomain.ProcessExit event in all AppDomains.
        * tests/Makefile.am: Add test-process-exit target.
        * tests/bug-438454.cs: Added; test case for #438454.
        * tests/bug-438454.exe.stdout.expected: Added; expected output when
          executing bug-438454.exe, to test the ordering of the
          AppDomain.ProcessExit event wrt ThreadPool disposal.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list