[Click] Unqueue bug
Eddie Kohler
kohler at cs.ucla.edu
Tue Feb 23 13:38:11 EST 2010
Hi Bart,
Thanks for this good bug report! I agree that Unqueue should update its
"count" handler as it goes, and have checked in a fix to that effect.
E
Bart Braem wrote:
> Dear list,
>
> We have found strange behaviour with the Unqueue element in the following script:
>
> InfiniteSource(LIMIT 5)
> -> Print("beforeQueue")
> -> SimpleQueue
> -> unqueue :: Unqueue(LIMIT 1)
> -> Print("afterQueue")
> -> Script(TYPE PACKET, write unqueue.reset);
>
> We would expect this to print multiple times, and actually the script only prints once. The issue seems to be that inside the element _worked is added to _count, after _count was reset by the handler call...
>
> best regards,
> Bart
More information about the click
mailing list