akka/akka — pull request #15473 by patriknw (2014-06-30 09:11:40+00:00)
Title: =per #15472 Flush instead of unstash when PersistentActor restarts

* When using the Processor batching buffer for persistAsync and defer
the events were unstashed by Processor.aroundPreRestart and
thereby were received as commands after restart
* Instead we must flush this buffer when using PersistentActor