Update to 3.5.2 and .net core 2.1

This commit is contained in:
stefan
2018-09-12 19:26:21 +02:00
parent c32d865638
commit 48facb797e
1419 changed files with 27525 additions and 88927 deletions

View File

@@ -22,12 +22,8 @@ namespace Emby.Server.Implementations.Security
get { return _regKey; }
set
{
if (value != _regKey)
{
//if key is changed - clear out our saved validations
_updateRecords.Clear();
_regKey = value;
}
_updateRecords.Clear();
_regKey = value;
}
}
@@ -114,14 +110,14 @@ namespace Emby.Server.Implementations.Security
{
lock (_fileLock)
{
_fileSystem.WriteAllBytes(licenseFile, new byte[] { });
_fileSystem.WriteAllBytes(licenseFile, Array.Empty<byte>());
}
}
catch (IOException)
{
lock (_fileLock)
{
_fileSystem.WriteAllBytes(licenseFile, new byte[] { });
_fileSystem.WriteAllBytes(licenseFile, Array.Empty<byte>());
}
}
}