Applying: Discard any push-back from a memory stream before finishing it (bug 34020)