[Mono-dev] Console programs doesn't finish
Carlos Solorzano
carlos at applianz.com
Tue Dec 27 08:22:51 EST 2005
On Dec 27, 2005, at 5:00 AM, Mirco Bauer wrote:
> On Wed, 2005-12-14 at 08:58 -0600, Carlos Solorzano wrote:
>> My programs that don't exit are not as simple as just running some
>> stuff on Main, instead they use a lot of threads (all the ones I have
>> control of background), and I use a lot of remoting with a lot of
>> Marhsal By Ref objects with an "infinite" lifetime. I would think my
>> problem lies on the use of one of those two but who knows, also
>> sometimes my programs do exit but I can't tell what the difference
>> was.
>
> I found such problem with Remoting too, but I don't remember if the
> problem happened on windows or linux neither mono or ms.net, but
> one of
> them was caused by not unregistering the remoted channels. So try to
> cleanly unregister all your channels and see if it exists cleanly now.
I will try that. However a couple of times one of my programs that
doesn't use remoting didn't exit. It does use background threads
heavily and just like all of my other programs it uses the Process
class heavily.
--Carlos
>
>>
>> Let me know if you figure out something :-)
>>
>> --Carlos
>
> --
> Regards,
>
> Mirco 'meebey' Bauer
>
> PGP-Key:
> http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
> V? PS
> PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
> ------END GEEK CODE BLOCK------
More information about the Mono-devel-list
mailing list