[Mono-dev] System.Environment.Exit() stalling
Alfredo José Muela Romero
alfredoj.muela at gmail.com
Thu Jan 29 09:46:50 EST 2009
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,
Alfredo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090129/d0b5375c/attachment.html
More information about the Mono-devel-list
mailing list