Skip to content

ActorSystem.shutdown() does not invoke callback if system is already shutdown #760

@budde

Description

@budde

The ActorSystem.shutdown() method will return a new Shutdown value immediately if another caller has already started the shutdown process but will never invoke the provided afterShutdownCompleted callback:

If the calling code is awaiting for this callback to complete, say as part of a service shutdown hook, then this will result in the application getting stuck awaiting for the callback to be invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions