* Fix memory leak of restarting Artery outbound stream, #28390 (#28407) * If the handshake doesn't complete the Promise in AssociationState was not completed and each new restarted stream added future callback to it OutboundHandshake stage. Those references are kept in the promise and therefore old OutboundHandshake (and probably entire stream) couldn't be garbage collected. * Using own notification mechanism to have control of listener deregistration from postStop instead of using Promise/Future. * Trying to create new Promise after failure/restart would be difficult due to that the same AssociationState Promise is accessed from several outbound streams, all possibly restarted individually. Therefore easier to cleanup from postStop. (cherry picked from commit 3b7e6095df25d2551c122944f08f869255fb20ca) * move mima filter to 2.6.1.backwards.excludes |
||
|---|---|---|
| .. | ||
| multi-jvm/scala/akka | ||
| test | ||