зеркало из https://github.com/mozilla/pjs.git
Fix bug 114292 (top crash in cache code). Patch prevents cache devices from evicting entries while they are being "bound". r=brendan, sr=darin, a=blizzard.
This commit is contained in:
Родитель
035940f4e4
Коммит
af2bffa139
|
@ -159,10 +159,10 @@ public:
|
|||
PRBool IsInitialized() { return (mFlags & eInitializedMask) != 0; }
|
||||
PRBool IsValid() { return (mFlags & eValidMask) != 0; }
|
||||
PRBool IsInvalid() { return (mFlags & eValidMask) == 0; }
|
||||
PRBool IsInUse() { return !(PR_CLIST_IS_EMPTY(&mRequestQ) &&
|
||||
PRBool IsInUse() { return IsBinding() ||
|
||||
!(PR_CLIST_IS_EMPTY(&mRequestQ) &&
|
||||
PR_CLIST_IS_EMPTY(&mDescriptorQ)); }
|
||||
PRBool IsNotInUse() { return (PR_CLIST_IS_EMPTY(&mRequestQ) &&
|
||||
PR_CLIST_IS_EMPTY(&mDescriptorQ)); }
|
||||
PRBool IsNotInUse() { return !IsInUse(); }
|
||||
|
||||
|
||||
PRBool IsAllowedInMemory()
|
||||
|
|
Загрузка…
Ссылка в новой задаче