The .shutdown() method starts the shutdown in a new thread, and doesn't wait for its' completion. The net impact of this, is that the shutdown is hopefully finished some time after the method is called.
I believe this somewhat undermines the purpose of the shutdown, which is to guaranty the cleanup of the provider, flushing telemetry, etc.
cc @kinyoklion @open-feature/sdk-java-maintainers @open-feature/sdk-java-approvers
The
.shutdown()method starts the shutdown in a new thread, and doesn't wait for its' completion. The net impact of this, is that the shutdown is hopefully finished some time after the method is called.I believe this somewhat undermines the purpose of the shutdown, which is to guaranty the cleanup of the provider, flushing telemetry, etc.
cc @kinyoklion @open-feature/sdk-java-maintainers @open-feature/sdk-java-approvers