cucumber/cucumber-jvm — Issue #89: World is not disposed of when after-hooks throw a throwable
Author: gisode
Created: 2011-11-14 11:06:43+00:00
State: open

When an after-hook throws a throwable, the throwable is wrapped in CucumberExcepiton, which flies up the stack unchecked. Since there is no try-finally around ```runHookMaybe()``` in ```World.dispose()```, ```runtime.disposeWorlds()``` is not called in these cases.