This is happening in Windows 10 version 1803, all other machine MFC application is terminated properly, whereas in this os version alone , MFC application is not terminate with 1 thread in task manager.
when analyze the dump found ,
SYMBOL_NAME: d3d10warp!ThreadPool::WaitWhileBusy+e5
MODULE_NAME: d3d10warp
IMAGE_NAME: d3d10warp.dll
FAILURE_BUCKET_ID: BREAKPOINT_80000003_d3d10warp.dll!ThreadPool::WaitWhileBusy
OS_VERSION: 10.0.17134.1
BUILDLAB_STR: rs4_release
OSPLATFORM_TYPE: x86
OSNAME: Windows 10
IMAGE_VERSION: 10.0.17134.1038
FAILURE_ID_HASH: {5079312e-7996-c5a8-284b-bd2349c8f839}
even after proper cleanup task, the exe is not terminate and also it occurring randomly. sometime it works fine sometimes UI close but else is running with 1 thread in background
Using TerminateProcess, exe is get terminate, but use this will not properly perform cleanup handle. but when ExitProcess , the issue is reproducing randomly.