VirtualBox

Changeset 31881 in vbox


Ignore:
Timestamp:
Aug 24, 2010 7:14:36 AM (14 years ago)
Author:
vboxsync
Message:

VBoxService/PropCache: Remove TRANSIENT flag from temporary properties when cache is destroyed gracefully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePropCache.cpp

    r31879 r31881  
    345345        while (pNode)
    346346        {
     347            /*
     348             * When destroying the cache and we have a temporary value, remove the
     349             * (eventually) set TRANSIENT flag from it so that it doesn't get deleted
     350             * by the host side in order to put the actual reset value in it.
     351             */
    347352            if ((pNode->fFlags & VBOXSERVICEPROPCACHEFLAG_TEMPORARY) == 0)
    348                 vboxServicePropCacheWritePropF(pCache->uClientID, pNode->pszName, pNode->fFlags, pNode->pszValueReset);
     353                vboxServicePropCacheWritePropF(pCache->uClientID, pNode->pszName, 0 /* Flags */, pNode->pszValueReset);
    349354
    350355            AssertPtr(pNode->pszName);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette