Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/3e7ef408ee1d9c8c5923d0b54899aca3f3542dcd/Exceptron.Client/fastJSON/SafeDictionary.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/Exceptron.Client/fastJSON/SafeDictionary.cs

37 lines
887 B

//http://fastjson.codeplex.com/
//http://fastjson.codeplex.com/license
using System.Collections.Generic;
namespace Exceptron.Client.fastJSON
{
internal class SafeDictionary<TKey, TValue>
{
private readonly object _Padlock = new object();
private readonly Dictionary<TKey, TValue> _Dictionary = new Dictionary<TKey, TValue>();
internal bool TryGetValue(TKey key, out TValue value)
{
return _Dictionary.TryGetValue(key, out value);
}
internal TValue this[TKey key]
{
get
{
return _Dictionary[key];
}
}
internal void Add(TKey key, TValue value)
{
lock (_Padlock)
{
if (_Dictionary.ContainsKey(key) == false)
_Dictionary.Add(key, value);
}
}
}
}