Changeset 106976 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Nov 13, 2024 8:52:53 AM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 165907
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r106832 r106976 299 299 { 300 300 LogFlowThisFunc(("\n")); 301 setTracked(0, 60);//infinite, 1 minute 301 302 return BaseFinalConstruct(); 302 303 } -
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r106832 r106976 986 986 AssertRCReturn(vrc, E_FAIL); 987 987 988 setTracked(0, 60);//infinite, 1 minute 989 988 990 return BaseFinalConstruct(); 989 991 } … … 1682 1684 if (pMedium != this) 1683 1685 pMedium->Release(); 1686 1687 /* 1688 * Special case. Invalidate the tracked object. 1689 * Works ONLY in conjunction with setTracked() in init() or FinalConstruct()! 1690 * The Medium object may stay in memory after the call uninit(). See i_close(), in instance. 1691 * The object state is "Not ready" in this case. From user perspective the object doesn't exist anymore. 1692 * In this case we still track the object but mark the object as "invalid". 1693 */ 1694 invalidateTracked(); 1684 1695 1685 1696 autoUninitSpan.setSucceeded();
Note:
See TracChangeset
for help on using the changeset viewer.