From ded8042d32cc26a7e3d79d11b1b14600d7110605 Mon Sep 17 00:00:00 2001 From: Nishchal Date: Sat, 1 Aug 2020 14:46:02 +0700 Subject: [PATCH] fix(features): null reference exception --- Sdk/FeatureContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sdk/FeatureContainer.cs b/Sdk/FeatureContainer.cs index 77fbcf9..712ccc3 100644 --- a/Sdk/FeatureContainer.cs +++ b/Sdk/FeatureContainer.cs @@ -18,7 +18,7 @@ public class FeatureWorker : IFeatureWorker { private readonly TimeSpan _syncInterval; private readonly FeatureManager _manager; - private IEnumerable _features; + private IEnumerable _features = new List(); public FeatureWorker(string endpoint, TimeSpan syncInterval) {