VirtualBox

Changeset 29474 in vbox


Ignore:
Timestamp:
May 14, 2010 2:56:39 PM (15 years ago)
Author:
vboxsync
Message:

AsyncCompletion: Fix assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp

    r29466 r29474  
    15391539                /* Free the lock and process pending tasks if neccessary */
    15401540                pTasksWaiting = pdmacFileAioMgrNormalRangeLockFree(pAioMgr, pEndpoint, pTask->pRangeLock);
    1541                 rc = pdmacFileAioMgrNormalProcessTaskList(pTasksWaiting, pAioMgr, pEndpoint);
    1542                 AssertRC(rc);
     1541                if (pTasksWaiting)
     1542                {
     1543                    rc = pdmacFileAioMgrNormalProcessTaskList(pTasksWaiting, pAioMgr, pEndpoint);
     1544                    AssertRC(rc);
     1545                }
    15431546
    15441547                /* Call completion callback */
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