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
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.