Kevin Gadd (2013-04-30T08:23:11.000Z)
github at esdiscuss.org (2013-07-12T02:27:04.257Z)
Is the reason why you wouldn't want to run `finally` blocks in generators described elsewhere on the list? Choosing not to run a generator's `finally` block is, to me at least, a very significant behavioral compromise, especially for use cases where generators are used to approximate coroutines (think task.js). Breaking `finally` would also make it harder to do resource management for generators that require temporary storage or other resources. Any scenarios where a `finally` block doesn't run are a potential trap for the unwary, especially because there are so many different ways for a generator to get manipulated by third-party code. I've personally had bugs creep into my applications as a result of this sort of thing.