nmathewson/Libevent — pull request #95 by JohnOhl (2014-01-27 18:05:56+00:00)
Title: Tweaked callbacks to prevent race condition

It doesn't appear to cause any new problems. I'm assuming it's safe to continue executing the callback even after the finalize callback was executed, though I'm not 100% positive. Any verification on this would help.