Changeset 39842 in vbox
- Timestamp:
- Jan 23, 2012 6:21:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r39801 r39842 522 522 } 523 523 } 524 RTLdrClose(hPSAPI); 524 525 } 525 526 } … … 938 939 939 940 if (!(fFlags & RTPROC_FLAGS_NO_PROFILE)) 940 pfnUnloadUserProfile(*phToken, profileInfo.hProfile); 941 { 942 fRc = pfnUnloadUserProfile(*phToken, profileInfo.hProfile); 943 if (!fRc) 944 { 945 /* In case there were some handles left open, we want to know about 946 * that -- can be tricky to debug later! */ 947 DWORD dwErr2 = GetLastError(); 948 AssertMsgFailed(("Unloading user profile failed with error %ld", dwErr2)); 949 if (dwErr == NO_ERROR) 950 dwErr = dwErr2; 951 } 952 } 941 953 } 942 954 }
Note:
See TracChangeset
for help on using the changeset viewer.