Changeset 67433 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 16, 2017 8:21:10 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116163
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r66126 r67433 2111 2111 2112 2112 HRESULT rc = S_OK; 2113 Guid snapshotId; 2113 2114 2114 2115 try … … 2149 2150 /* remember the timestamp of the snapshot we're restoring from */ 2150 2151 snapshotTimeStamp = task.m_pSnapshot->i_getTimeStamp(); 2152 2153 // save the snapshot ID (paranoia, here we hold the lock) 2154 snapshotId = task.m_pSnapshot->i_getId(); 2151 2155 2152 2156 ComPtr<SnapshotMachine> pSnapshotMachine(task.m_pSnapshot->i_getSnapshotMachine()); … … 2333 2337 2334 2338 if (SUCCEEDED(rc)) 2335 mParent->i_onSnapshotRestored(mData->mUuid, Guid());2339 mParent->i_onSnapshotRestored(mData->mUuid, snapshotId); 2336 2340 2337 2341 LogFlowThisFunc(("Done restoring snapshot (rc=%08X)\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.