I am not sure why this happens and I never explicitly abort threads, so it's a bit of a surprise. But I log Exceptions and I am seeing:
System.Threading.ThreadAbortException - Thread was being aborted.
It appears to happen in a call to System.Threading.WaitHandle.WaitOne
. I am not sure how far this Exception goes. I don't think my threads ever terminate, because I catch log and swallow the error.
Why am I getting these errors? Perhaps it's when I am forcefully terminating my server or asking it to reboot? If it isn't then what might be causing them?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…