Why am I getting an exception from the thread pool during process shutdown?

1 · Raymond Chen · Jan. 30, 2020, 3:15 p.m.
A customer reported that their program was experiencing crashes that suggested that they weren’t handling shutdown properly. During shutdown, the code tries to acquire a lock, which leads to an exception in Tpp­Raise­Invalid­Parameter called from Tp­Alloc­Wait. This appeared to be all internal implementation code from the C runtime. The post Why am I getting an exception from the thread pool during process shutdown? appeared first on The Old New Thing....