He-Pin commented on issue #1646:
URL: https://github.com/apache/pekko/issues/1646#issuecomment-2566143829
```scala
protected[stream] def afterPostStop(): Unit = {
if (_stageActor ne null) {
_stageActor.stop()
_stageActor = null
}
// make sure any invokeWithFeedback after this fails fast
// and fail current outstanding invokeWithFeedback promises
val inProgress = asyncCallbacksInProgress.getAndSet(null)
if (inProgress.nonEmpty) {
val exception = streamDetachedException
inProgress.foreach(_.tryFailure(exception))
}
cleanUpSubstreams(OptionVal.None)
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]