onstop is a thread-killer

  • Thread starter Thread starter n_o_s_p_a__m
  • Start date Start date
N

n_o_s_p_a__m

in my windows service, onstop is either doing one of 2 things:

a) not giving my threads a chance to self terminate (which they always
do "gracefully"

b) unloading my custom trace listener before they terminate, so I
can't see if they actually terminated correctly or not

any guesses?
 
n_o_s_p_a__m said:
in my windows service, onstop is either doing one of 2 things:

a) not giving my threads a chance to self terminate (which they always
do "gracefully"

b) unloading my custom trace listener before they terminate, so I
can't see if they actually terminated correctly or not

any guesses?

Can you give a short but complete example of each of these?
 
Back
Top