diff --git a/AsyncExpiringLazy.Tests/Properties/AssemblyInfo.cs b/AsyncExpiringLazy.Tests/Properties/AssemblyInfo.cs index 0b9e41c..dbe174e 100644 --- a/AsyncExpiringLazy.Tests/Properties/AssemblyInfo.cs +++ b/AsyncExpiringLazy.Tests/Properties/AssemblyInfo.cs @@ -5,9 +5,6 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AsyncExpiringLazy.Tests")] [assembly: AssemblyTrademark("")] // Setting ComVisible to false makes the types in this assembly not visible diff --git a/AsyncExpiringLazy/AsyncExpiringLazy.cs b/AsyncExpiringLazy/AsyncExpiringLazy.cs index ba963bd..b6f78e4 100644 --- a/AsyncExpiringLazy/AsyncExpiringLazy.cs +++ b/AsyncExpiringLazy/AsyncExpiringLazy.cs @@ -42,19 +42,10 @@ public async Task Value() { return _value.Result; } - } - finally - { - _syncLock.Release(); - } - await _syncLock.WaitAsync(); - try - { var result = await _valueProvider(_value).ConfigureAwait(false); _value = result; return _value.Result; - } finally { diff --git a/AsyncExpiringLazy/AsyncExpiringLazy.csproj b/AsyncExpiringLazy/AsyncExpiringLazy.csproj index a97aa3d..a22547c 100644 --- a/AsyncExpiringLazy/AsyncExpiringLazy.csproj +++ b/AsyncExpiringLazy/AsyncExpiringLazy.csproj @@ -3,7 +3,7 @@ A helper library providing async lazy cabailities to expiring objects. netstandard1.3 - 1.0.0 + 1.0.1 filipw AsyncExpiringLazy Strathweb.AsyncExpiringLazy diff --git a/AsyncExpiringLazy/Properties/AssemblyInfo.cs b/AsyncExpiringLazy/Properties/AssemblyInfo.cs index c90717d..8f6c114 100644 --- a/AsyncExpiringLazy/Properties/AssemblyInfo.cs +++ b/AsyncExpiringLazy/Properties/AssemblyInfo.cs @@ -5,9 +5,6 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AsyncExpiringLazy")] [assembly: AssemblyTrademark("")] // Setting ComVisible to false makes the types in this assembly not visible