- Timestamp:
- Oct 26, 2009 4:17:35 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53968
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r24079 r24090 3764 3764 LogFlowThisFunc(("mSession.mState=%s\n", Global::stringifySessionState(mData->mSession.mState))); 3765 3765 3766 /* Hack: in case the session is closing and there is a progress object 3767 * which allows waiting for the session to be closed, take the opportunity 3768 * and do a limited wait (max. 1 second). This helps a lot when the system 3769 * is busy and thus session closing can take a little while. */ 3770 if ( mData->mSession.mState == SessionState_Closing 3771 && mData->mSession.mProgress) 3772 { 3773 alock.leave(); 3774 mData->mSession.mProgress->WaitForCompletion(1000); 3775 alock.enter(); 3776 LogFlowThisFunc(("after waiting: mSession.mState=%s\n", Global::stringifySessionState(mData->mSession.mState))); 3777 } 3778 3766 3779 if (mData->mSession.mState == SessionState_Open || 3767 3780 mData->mSession.mState == SessionState_Closing)
Note:
See TracChangeset
for help on using the changeset viewer.