Hi Dimitris,

Are you sure that there isn't a bug in one of your cleanup functions, 
that crashes your router during the cleanup stage?  (Run under GDB or 
something to check.)  I believe that Click will call all cleanup 
functions, in reverse initialization order.  The only reason I'd imagine 
for an early exit is a crash.

Best,
Eddie


On 9/14/11 7:49 AM, Dimitris Syrivelis wrote:
> Hi,
>
>    We experience an issue with Ctrl-C handling in Click. We have developed our
> own
> elements for a project and in our configuration we use them in conjcuction 
> with
> some standard click elements. We have declared cleanup functions in all of
> them.
>
>   The problem is that when we press Ctrl-C, a subset of the cleanup functions 
> of
> our configuration are called instead of all of them. What is more important,
> when
> we restart click and repeat Ctrl-C a different number of cleanup functions is
> called. The call order is always the same between experiments but the total
> amount of cleanup functions varies. Any insights on why this is happening?
>
>    Thank you,
>
>    Dimitris
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to