SingletonServiceProvider fails to shutdown cleanly

Description

This was discovered through MDSAL-843, which makes the shutdown logic wait for completeness.

Our closing of serviceEntityListenerReg at the start of shutdown leads to a failure to notice service groups' entity transition if a group gets destroyed before close() and its entity is not released by the time close() runes – as happens during container shutdown.

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created January 20, 2024 at 9:33 AM
Updated January 20, 2024 at 12:10 PM
Resolved January 20, 2024 at 12:10 PM