xetorthio/jedis — pull request #797 by HeartSaVioR (2014-11-27 23:06:01+00:00)
Title: Fixes a bug : resetState() throws exception with executed Transaction

It fixes #796.

Pipeline is fine to flip "in transaction" flag properly, but Transaction's exec() is not.
So when Jedis instance is cleaned up, resetState() is called and referenced from Jedis but already executed Transaction's clear() calls discard() again.