-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close AsyncActor before StreamProcessor actor, to ensure that first actor is closed before resources are set to null. Furthermore, to simplify closing lifecycle. AsyncActor gets own closing future, which is set to completed by default and will be initialized when starting. When StreamProcessor closeAsync is called StreamProcessor submits new job in order to schedule closing procedure. When Failure occures the AsyncActor will also be closed first, before all other resources and actor. (cherry picked from commit e16065b)
- Loading branch information
1 parent
e5b0339
commit 9c16218
Showing
1 changed file
with
31 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters