VirtualBox

Changeset 29881 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 30, 2010 3:12:11 PM (15 years ago)
Author:
vboxsync
Message:

ProgressImpl.cpp: Log cancelation.

File:
1 edited

Legend:

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

    r29863 r29881  
    958958    if (!mCanceled)
    959959    {
     960        LogThisFunc(("Canceling\n"));
    960961        mCanceled = TRUE;
    961962        if (m_pfnCancelCallback)
     
    963964
    964965    }
     966    else
     967        LogThisFunc(("Already canceled\n"));
     968
    965969    return S_OK;
    966970}
     
    12441248
    12451249    if (mCanceled)
     1250    {
     1251        LogThisFunc(("returns false\n"));
    12461252        return false;
     1253    }
    12471254
    12481255    mCancelable = FALSE;
     1256    LogThisFunc(("returns true\n"));
    12491257    return true;
    12501258}
     
    17201728    if (!mCanceled)
    17211729    {
     1730        LogThisFunc(("Canceling\n"));
    17221731        mCanceled = TRUE;
    17231732/** @todo Teleportation: Shouldn't this be propagated to mProgresses? If
     
    17291738
    17301739    }
     1740    else
     1741        LogThisFunc(("Already canceled\n"));
     1742
    17311743    return S_OK;
    17321744}
Note: See TracChangeset for help on using the changeset viewer.

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