VirtualBox

Changeset 37681 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jun 29, 2011 11:30:07 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72541
Message:

Main: correctly wait for async process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r37680 r37681  
    46694669            rc = pMedium->DeleteStorage(pProgress2.asOutParam());
    46704670            if (FAILED(rc)) throw rc;
    4671             rc = pProgress2->WaitForCompletion(-1);
    4672 //            rc = task.pProgress->WaitForAsyncProgressCompletion(pProgress2);
     4671            rc = task.pProgress->WaitForAsyncProgressCompletion(pProgress2);
    46734672            if (FAILED(rc)) throw rc;
    46744673            /* Check the result of the asynchrony process. */
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