Changeset 29881 in vbox for trunk/src/VBox
- Timestamp:
- May 30, 2010 3:12:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ProgressImpl.cpp
r29863 r29881 958 958 if (!mCanceled) 959 959 { 960 LogThisFunc(("Canceling\n")); 960 961 mCanceled = TRUE; 961 962 if (m_pfnCancelCallback) … … 963 964 964 965 } 966 else 967 LogThisFunc(("Already canceled\n")); 968 965 969 return S_OK; 966 970 } … … 1244 1248 1245 1249 if (mCanceled) 1250 { 1251 LogThisFunc(("returns false\n")); 1246 1252 return false; 1253 } 1247 1254 1248 1255 mCancelable = FALSE; 1256 LogThisFunc(("returns true\n")); 1249 1257 return true; 1250 1258 } … … 1720 1728 if (!mCanceled) 1721 1729 { 1730 LogThisFunc(("Canceling\n")); 1722 1731 mCanceled = TRUE; 1723 1732 /** @todo Teleportation: Shouldn't this be propagated to mProgresses? If … … 1729 1738 1730 1739 } 1740 else 1741 LogThisFunc(("Already canceled\n")); 1742 1731 1743 return S_OK; 1732 1744 }
Note:
See TracChangeset
for help on using the changeset viewer.