Skip to content

Commit ad6ff49

Browse files
author
Marcelo Vanzin
committed
Fix a comment after changes.
1 parent 24f5c8d commit ad6ff49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/scala/org/apache/spark/scheduler/LiveListenerBus.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private[spark] class LiveListenerBus(conf: SparkConf) {
106106
}
107107
}
108108

109-
/** An alias for postToAll(), to avoid changing all call sites. */
109+
/** Post an event to all queues. */
110110
def post(event: SparkListenerEvent): Unit = {
111111
if (!stopped.get()) {
112112
metrics.numEventsPosted.inc()
@@ -166,6 +166,7 @@ private[spark] class LiveListenerBus(conf: SparkConf) {
166166

167167
synchronized {
168168
queues.asScala.foreach(_.stop())
169+
queues.clear()
169170
}
170171
}
171172

0 commit comments

Comments
 (0)