Skip to content

Commit

Permalink
Remove redundant check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Vanzin committed Sep 18, 2017
1 parent ed71477 commit 77dd8ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private[spark] class LiveListenerBus(conf: SparkConf) {
case None =>
val newQueue = new AsyncEventQueue(queue, conf, metrics)
newQueue.addListener(listener)
if (started.get() && !stopped.get()) {
if (started.get()) {
newQueue.start(sparkContext)
}
queues.add(newQueue)
Expand Down

0 comments on commit 77dd8ec

Please sign in to comment.