Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
f63a706a86
commit
69790ef6b8
|
@ -148,9 +148,11 @@ namespace Emby.Server.Implementations.AppBase
|
|||
}
|
||||
else
|
||||
{
|
||||
var list = _configurationFactories.ToList();
|
||||
list.Add(factory);
|
||||
_configurationFactories = list.ToArray();
|
||||
var oldLen = _configurationFactories.Length;
|
||||
var arr = new IConfigurationFactory[oldLen + 1];
|
||||
_configurationFactories.CopyTo(arr, 0);
|
||||
arr[oldLen] = factory;
|
||||
_configurationFactories = arr;
|
||||
}
|
||||
|
||||
_configurationStores = _configurationFactories
|
||||
|
|
Loading…
Reference in New Issue
Block a user