[Click] Simplequeue calling cleanup stage from new queue element

Eddie Kohler kohler at icir.org
Tue Aug 19 12:03:48 EDT 2003


Shilpi

> I have written a new queue element in click NewQueue. But now if i use old 
> Queue or SimpleQueue ...at the time uninstaiing it calls cleanup method from 
> the new queue element and not of its own. How come these two are getting mixed 
> up ?

That is not happening

At uninstall time cleanup() gets called on all prototype elements that were
installed in the Lexer but never in any router, that includes your
NewQueue, if you look at the cleanup_stage you will see it is
CLEANUP_NO_ROUTER

E


More information about the click mailing list