NetServerEnum create Worker Threads who won't close
问题 While trying to solve a previously asked SO question of mine, I've find that even without my threads, the problem occurs. what I have now , is a really simple single-threaded code , that calls - NetServerEnum() . when returned, it calls NetApiBufferFree() and return from main, which supposed to end the process. at that point, my thread truly ends, but the process won't exit , as there are 4 threads opened (not by me): 1 * ntdll.dll!TplsTimerSet+0x7c0 (stack is at ntdll.dll