Changeset 49101 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Oct 15, 2013 3:12:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r49100 r49101 710 710 711 711 #ifdef NAT_XML_SERIALIZATION 712 AutoWriteLock vboxLock(mVirtualBox COMMA_LOCKVAL_SRC_POS); 713 HRESULT rc = mVirtualBox->saveSettings(); 714 ComAssertComRCRetRC(rc); 715 vboxLock.release(); 712 { 713 AutoWriteLock vboxLock(mVirtualBox COMMA_LOCKVAL_SRC_POS); 714 HRESULT rc = mVirtualBox->saveSettings(); 715 ComAssertComRCRetRC(rc); 716 } 716 717 #endif 717 718 … … 752 753 753 754 #ifdef NAT_XML_SERIALIZATION 754 AutoWriteLock vboxLock(mVirtualBox COMMA_LOCKVAL_SRC_POS); 755 HRESULT rc = mVirtualBox->saveSettings(); 756 ComAssertComRCRetRC(rc); 757 vboxLock.release(); 755 { 756 AutoWriteLock vboxLock(mVirtualBox COMMA_LOCKVAL_SRC_POS); 757 HRESULT rc = mVirtualBox->saveSettings(); 758 ComAssertComRCRetRC(rc); 759 } 758 760 #endif 759 761
Note:
See TracChangeset
for help on using the changeset viewer.