elasticsearch/elasticsearch — pull request #7643 by s1monw (2014-09-08 14:29:07+00:00)
Title: [Internal] Unify search context cleanup

Today there are two different ways to cleanup search contexts which can
potentially lead to double releasing of a context. This commit unifies
the methods and prevents double closing.

Closes #7625