[Mono-dev] AppDomain.ProcessExit event firing too early?
Gonzalo Paniagua Javier
gonzalo at ximian.com
Tue Jan 24 16:36:07 EST 2006
On Sat, 2006-01-21 at 21:36 +0100, Luca wrote:
> Hi,
> I'm developing a cross-platform application which uses Log4NET for its
> logging. The main thread of the application just parses the config file,
> spawns additional foreground threads and then exits (basicaly it's a
> server).
>
> Under Linux, using Mono I see a strange behaviour when the main thread
> terminates: the logger doesn't work anymore. Note that the other
> foreground threads are still running so the application is not
> terminated.
>
> What is happening is that delegates registered on the ProcessExit event
> are called as soon as the main thread exits, even when other threads
> are still active.
I have this bug to remind me of that issue, but if anyone else wants to
provide a patch... http://bugzilla.ximian.com/show_bug.cgi?id=74757
-Gonzalo
More information about the Mono-devel-list
mailing list