[Mono-dev] System.Environment.Exit() stalling
vargaz at gmail.com
Thu Jan 29 17:18:32 EST 2009
Which mono version are you using ? Please try with at least mono
2.0, previous versions
have known shutdown problems.
2009/1/29 Alfredo José Muela Romero <alfredoj.muela at gmail.com>:
> Hi everyone,
> I'm developing an application in C# which uses a C++ library (apparently
> successfully wrapped via SWIG) where some threads are involved.
> The point is that as the main thread (the one running the main) reaches the
> end, it is confirmed that the created threads are already ended, the GC
> seems right (after a System.GC.WaitForPendingFinalizers) but it stalls at
> the System.Enviroment.Exit(0) to never come back and end the application.
> Any ideas about the possible reasons for the System.Environment.Exit not
> coming back? How could I dig in more to check it?
> As an additional info, the Ctrl+c signal works well by ending the app and
> returning control to the shell. Therefore, I guess the application has a
> "civic" way of quiting.
> Thanks in advance,
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list