Destroy pool when a thread ends.

This commit is contained in:
Keir 2016-01-09 22:21:27 +00:00
parent 5f362a878a
commit 7db3f3469f
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public class RedisConnectionHandler implements Runnable
}
}
_jedisPool.destroy();
_logger.warning("Thread interrupted, end of connection.");
}