diff --git a/lib/ldclient-rb/ldclient.rb b/lib/ldclient-rb/ldclient.rb index 7976a61b..6e031aaf 100644 --- a/lib/ldclient-rb/ldclient.rb +++ b/lib/ldclient-rb/ldclient.rb @@ -214,6 +214,8 @@ def all_keys # Returns all feature flags # def all_flags + return Hash.new if @offline + if @config.stream? && !@stream_processor.started? @stream_processor.start end