Oops, sorry, I didn't notice that delegate is a StateHolder. So maybe the bug is there after all. I'm playing with WeakRef and Weak::IdentityKeyHash, and I can't really understand how either works. Simply changing the IdentitykeyHash to a normal hash and keys to WeakRef's screwed up backtracking... Vladimir Slepnev