akkadotnet/akka.net — pull request #424 by Aaronontheweb (2014-09-26 00:17:50+00:00)
Title: Stashing Fix (resolves #422)

So this was a really simple change to make - bottom line is that the internal Prepend buffer the `DequeMessageQueue` uses needed to be a `Queue` and not a `Stack`.

The reason is because the items that are being prepended to the front of the mailbox can't jump ahead of the _other messages that were previously scheduled to be prepended_. The PrependBuffer needs to maintain the same FIFO order that the Stash does, otherwise stuff happens like the messages intended for remote-deployed actors being sent BEFORE the `DaemonMsgCreate` gets sent to create the remote-deployed actor.