Code review comment for lp:~jameinel/bzr/1.17-lru-cleanup

Revision history for this message
John A Meinel (jameinel) wrote :

Just a simple cleanup to fix bug #396636

For LRUCache, if you register a cleanup function, that function raising an exception can mess up the linked list.

This just moves the linked list management into a try/finally block.

« Back to merge proposal