My bad...that's actually what I am doing.
I have a stop() method insite my threads that change a boolean value
to false inside the while...instead of having while(tru)

On Wed, May 18, 2011 at 3:51 PM, Henrique Boregio <hbore...@gmail.com> wrote:
> Hi, in my Wicket Application class, I create a couple of thread that
> sleep most of the time..and come alive every one in a while to do some
> maintenance tasks.
>
> I create them in the init() method of the Wicket Application...and
> call kill() on them in the onDestroy() method.
>
> When I shutdown tomcat and restart it again (via the default .bat or
> .sh), I can see from my log files that some threads from the previuos
> deploy are still hanging around in memory.
>
> Am I doing something wrong?
>
> Many thanks.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to