Changeset 16981 in vbox
- Timestamp:
- Feb 20, 2009 11:21:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r16966 r16981 3430 3430 AssertComRC (rc); 3431 3431 3432 /* NOTE: doing return from this function after this point but 3433 * before the end is forbidden since it may call SessionMachine::uninit() 3434 * (through the ComObjPtr's destructor) which requests the VirtualBox write 3435 * lock while still holding the Machine lock in alock so that a deadlock 3436 * is possible due to the wrong lock order. */ 3437 3432 3438 if (SUCCEEDED (rc)) 3433 3439 { … … 3562 3568 mData->mSession.mProgress.setNull(); 3563 3569 } 3570 3571 /* Leave the lock since SessionMachine::uninit() locks VirtualBox which 3572 * would break the lock order */ 3573 alock.leave(); 3564 3574 3565 3575 /* uninitialize the created session machine on failure */
Note:
See TracChangeset
for help on using the changeset viewer.