=str #16699 fix some FIXMEs

This commit is contained in:
Patrik Nordwall 2015-04-20 15:03:03 +02:00
parent aad8704085
commit c63b9c801a
11 changed files with 45 additions and 40 deletions

View file

@ -173,7 +173,7 @@ private[akka] final case class Grouped[T](n: Int) extends PushPullStage[T, immut
override def onPull(ctx: Context[immutable.Seq[T]]): SyncDirective =
if (ctx.isFinishing) {
val elem = buf.result()
buf.clear() //FIXME null out the reference to the `buf`?
buf.clear()
left = n
ctx.pushAndFinish(elem)
} else ctx.pull()