Changeset 39863 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jan 24, 2012 9:06:15 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75889
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r39846 r39863 768 768 * we're running as a Windows service? 769 769 */ 770 if ( RT_FAILURE(rc) 770 if ( RT_FAILURE(rc) /** @todo r=bird: you don't set rc when pfnCreateProcesswithLogonW fails... Using too many variables to control flow is confusing. */ 771 771 || (fFlags & RTPROC_FLAGS_SERVICE)) 772 772 { … … 935 935 rtProcEnvironmentDestroy(pwszzBlock); 936 936 } 937 else938 dwErr = rc;939 937 940 938 if (!(fFlags & RTPROC_FLAGS_NO_PROFILE)) 941 939 { 942 940 fRc = pfnUnloadUserProfile(*phToken, profileInfo.hProfile); 941 #ifdef RT_STRICT 943 942 if (!fRc) 944 943 { 945 /* In case there were some handles left open, we want to know about946 * that -- can be tricky to debug later! */947 944 DWORD dwErr2 = GetLastError(); 948 AssertMsgFailed(("Unloading user profile failed with error %u (%#x)", dwErr2, dwErr2)); 949 if (dwErr == NO_ERROR) 950 dwErr = dwErr2; 945 AssertMsgFailed(("Unloading user profile failed with error %u (%#x) - Are all handles closed? (dwErr=%u)", 946 dwErr2, dwErr2, dwErr)); 951 947 } 948 #endif 952 949 } 953 950 }
Note:
See TracChangeset
for help on using the changeset viewer.