- Timestamp:
- Apr 12, 2018 12:32:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r71847 r71849 165 165 return VINF_SUCCESS; 166 166 167 BOOL fCanceled;168 167 BOOL fCompleted; 169 if ( SUCCEEDED(mProgress->COMGETTER(Canceled(&fCanceled))) 170 && !fCanceled 171 && SUCCEEDED(mProgress->COMGETTER(Completed(&fCompleted))) 168 if ( SUCCEEDED(mProgress->COMGETTER(Completed(&fCompleted))) 172 169 && !fCompleted) 173 170 { … … 337 334 break; 338 335 } 336 337 if ( SUCCEEDED(mProgress->COMGETTER(Canceled(&fCanceled))) 338 && fCanceled) 339 return VINF_SUCCESS; 339 340 340 341 if (RT_FAILURE(rc)) … … 1097 1098 break; 1098 1099 } 1100 1101 BOOL fCanceled = FALSE; 1102 if ( SUCCEEDED(mProgress->COMGETTER(Canceled(&fCanceled))) 1103 && fCanceled) 1104 break; 1099 1105 } 1100 1106
Note:
See TracChangeset
for help on using the changeset viewer.