Skip to content

[Flagsmith] FlagsmithProvider does not implement shutdown logic #1304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
paulhobbel opened this issue Apr 11, 2025 · 0 comments · Fixed by #1305
Closed

[Flagsmith] FlagsmithProvider does not implement shutdown logic #1304

paulhobbel opened this issue Apr 11, 2025 · 0 comments · Fixed by #1305

Comments

@paulhobbel
Copy link
Contributor

We've recently ran into an issue where one of our applications wouldn't gracefully shutdown. After debugging we found out that the OkHttp thread created by the FlagsmithClient is not closed properly when using the FlagsmithProvider of OpenFeature.

According to Flagsmith's documentation you can call the close function to clean up all resources. It seems like the FlagsmithProvider does not implement the shutdown function and thus does not call close on the FlagsmithClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant