- Timestamp:
- Aug 24, 2010 8:08:32 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePropCache.cpp
r31881 r31893 99 99 if (RTStrAPrintfV(&pszValue, pszValueFormat, va) >= 0) 100 100 { 101 /* 102 * Because a value can be temporary we have to make sure it also 103 * gets deleted when the property cache did not have the chance to 104 * gracefully clean it up (due to a hard VM reset etc), so set this 105 * guest property using the TRANSIENT flag. 106 */ 107 rc = VbglR3GuestPropWrite(u32ClientId, pszName, pszValue, 108 (fFlags & VBOXSERVICEPROPCACHEFLAG_TEMPORARY) 109 ? "TRANSIENT" 110 : NULL); 101 if (fFlags & VBOXSERVICEPROPCACHEFLAG_TEMPORARY) 102 { 103 /* 104 * Because a value can be temporary we have to make sure it also 105 * gets deleted when the property cache did not have the chance to 106 * gracefully clean it up (due to a hard VM reset etc), so set this 107 * guest property using the TRANSIENT flag. 108 */ 109 rc = VbglR3GuestPropWrite(u32ClientId, pszName, pszValue, "TRANSIENT"); 110 } 111 else 112 rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, pszValue); 111 113 RTStrFree(pszValue); 112 114 }
Note:
See TracChangeset
for help on using the changeset viewer.