-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We have an ioc container, and when it tries to initialize our VWO adapter for another instance we get:
System.ArgumentException: An item with the same key has already been added. Key: cl
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at VWOSdk.VWO.SetUsageStats(String key)
at VWOSdk.VWO.Configure(ILogWriter logger)
As a workaround we have made it singelton, but this shouldn't crash, or at least give a way to figure out that configure has already been called.
Metadata
Metadata
Assignees
Labels
No labels