J
jeff29_b
I have an asp.net application that stores two worker threads in the
application object like so
Application["ThreadName"] = thread;
These objects are persistent and continuously do polling and other
work. Unfortunately, when iis recycles a process the old process hangs
around even though it doesn't have any requests coming in. Is it
because of these threads I am storing in the application store. And is
there a way to configure the process to shutdown even if the threads
are running or is there an application event that notifies you of a
process shutdown?
application object like so
Application["ThreadName"] = thread;
These objects are persistent and continuously do polling and other
work. Unfortunately, when iis recycles a process the old process hangs
around even though it doesn't have any requests coming in. Is it
because of these threads I am storing in the application store. And is
there a way to configure the process to shutdown even if the threads
are running or is there an application event that notifies you of a
process shutdown?