toastdriven/django-haystack — pull request #552 by hadesgames (2012-04-13 16:20:09+00:00)
Title: Fixes process leak when using update_index with workers.

Currently I am calling update_index, with workers, using call_command multiple times from the same process. The workers used by the command are never destroyed. This patch fixes the issue.

I am using pool.terminate() instead of pool.close() because pool.close() suffers from a [bug](http://lists.opensuse.org/opensuse-bugs/2012-02/msg02297.html) on Python 2.7.2.