-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
Description
If you configure the client to use_ldd then you are unable to close the client. Calling client.close results in a NoMethodError for @data_source as it does not get defined when using ldd.
undefined method `stop' for nil:NilClass (NoMethodError)It may be that closing the client is not necessary when using ldd, but I did not see anything in the docs that indicated that.
Example
config = LaunchDarkly::Config.new(
feature_store: LaunchDarkly::Integrations::Redis.new_feature_store(...),
use_ldd: true
)
client = LaunchDarkly::Client.new(sdk_key, config)
client.closeExpected behavior
An exception is not thrown when calling client.close.
SDK version
7.2.0
Metadata
Metadata
Assignees
Labels
No labels