BaseXdb/basex — pull request #269 by LeoWoerteler (2011-11-14 11:14:20+00:00)
Title: [FIX] GH-267: IterFilter Doesn't Reset the Context

Added the reset and wrapped it in `try`/`finally`, because otherwise the context could leak in presence of exceptions.