Changeset 31817 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 20, 2010 1:04:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r31814 r31817 426 426 autoInitSpan.setSucceeded(); 427 427 else 428 { 428 429 autoInitSpan.setLimited(); 430 431 // uninit media from this machine's media registry, or else 432 // reloading the settings will fail 433 mParent->unregisterMachineMedia(getId()); 434 } 429 435 } 430 436 … … 503 509 autoInitSpan.setSucceeded(); 504 510 else 511 { 505 512 autoInitSpan.setLimited(); 513 514 // uninit media from this machine's media registry, or else 515 // reloading the settings will fail 516 mParent->unregisterMachineMedia(getId()); 517 } 506 518 } 507 519 … … 680 692 /* rollback all changes */ 681 693 rollback(false /* aNotify */); 694 695 // uninit media from this machine's media registry, or else 696 // reloading the settings will fail 697 mParent->unregisterMachineMedia(getId()); 682 698 683 699 /* uninitialize the common part to make sure all data is reset to … … 755 771 } 756 772 757 // uninit media from this machine's media registry 773 // uninit media from this machine's media registry, if they're still there 758 774 mParent->unregisterMachineMedia(getId()); 759 775
Note:
See TracChangeset
for help on using the changeset viewer.