[SwiftmailerBundle] Fixed broken profiler when using incorrectly configured memory spool.
bug #76 [SwiftmailerBundle] Fixed broken profiler using memory spool (RubenKruiswijk)

This PR was merged into the 2.3-dev branch.

Discussion
----------

[SwiftmailerBundle] Fixed broken profiler using memory spool

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes, but no tests available for affected listener
| Fixed tickets | [#10630](https://github.com/symfony/symfony/issues/10630)
| License       | MIT
| Doc PR        |

Commits
-------

927ee64 [SwiftmailerBundle] Fixed broken profiler when using incorrectly configured memory spool.