apache/incubator-spark — pull request #392 by rxin (2014-01-11 21:37:50+00:00)
Title: Stop SparkListenerBus daemon thread when DAGScheduler is stopped.

Otherwise this leads to hundreds of SparkListenerBus daemon threads in our unit tests (and also problematic if user applications launches multiple SparkContext).