Skip to content

Commit cac7468

Browse files
authored
Merge pull request #21 from fossapps/fix-unavailable
fix(features): null reference exception
2 parents a2f0780 + ded8042 commit cac7468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sdk/FeatureContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class FeatureWorker : IFeatureWorker
1818
{
1919
private readonly TimeSpan _syncInterval;
2020
private readonly FeatureManager _manager;
21-
private IEnumerable<RunningFeature> _features;
21+
private IEnumerable<RunningFeature> _features = new List<RunningFeature>();
2222

2323
public FeatureWorker(string endpoint, TimeSpan syncInterval)
2424
{

0 commit comments

Comments
 (0)