Skip to content

Commit

Permalink
[asp.net] Remove lock recursion in Cache.ExpireItems
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Sep 28, 2010
1 parent 37edaa1 commit 9f2d34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/System.Web/System.Web.Caching/Cache.cs
Expand Up @@ -544,7 +544,7 @@ void ExpireItems (object data)
}

item = timedItems.Dequeue ();
if (!NeedsUpdate (item, CacheItemUpdateReason.Expired, true))
if (!NeedsUpdate (item, CacheItemUpdateReason.Expired, false))
Remove (item.Key, CacheItemRemovedReason.Expired, false, true);
item = timedItems.Peek ();
}
Expand Down

0 comments on commit 9f2d34d

Please sign in to comment.