// Activate fast stub rundown after app crashes. Reduces the cleanup delay from ~11min to <10sec
CComPtr<IGlobalOptions> globalOptions;
CHECK(globalOptions.CoCreateInstance(CLSID_GlobalOptions, NULL, CLSCTX_INPROC_SERVER));
CHECK(globalOptions->Set(COMGLB_RO_SETTINGS, COMGLB_FAST_RUNDOWN));
Required code:
Documentation on COMGLB_FAST_RUNDOWN