VirtualBox

Changeset 29924 in vbox


Ignore:
Timestamp:
May 31, 2010 6:30:29 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62191
Message:

Progress.cpp: Don't assert in SetNextOperation if the object is canceled already since it is an external factor that we cannot control.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ProgressImpl.cpp

    r29914 r29924  
    10091009    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    10101010
    1011     AssertReturn(!mCompleted && !mCanceled, E_FAIL);
     1011    if (mCanceled)
     1012        return E_FAIL;
     1013    AssertReturn(!mCompleted, E_FAIL);
    10121014    AssertReturn(m_ulCurrentOperation + 1 < m_cOperations, E_FAIL);
    10131015
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette