diff options
author | vman <public@vaughnnugent.com> | 2022-12-26 16:47:10 -0500 |
---|---|---|
committer | vman <public@vaughnnugent.com> | 2022-12-26 16:47:10 -0500 |
commit | cea64e619e714f6dbe51d37ca8329b58d8c271fb (patch) | |
tree | 8f8d401ed8b25df5584ba4f3eecbcea57a542c20 /VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs | |
parent | 18754085bf89a8a6cc28f9de1176e2943b36de7f (diff) |
License + global cache removal
Diffstat (limited to 'VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs')
-rw-r--r-- | VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs b/VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs index ff2e8a3..514d00b 100644 --- a/VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs +++ b/VNLib.Data.Caching.ObjectCache/ObjectCacheStore.cs @@ -9,17 +9,17 @@ * VNLib collection of libraries and utilities. * * VNLib.Data.Caching.ObjectCache is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation, either version 2 of the License, -* or (at your option) any later version. +* it under the terms of the GNU Affero General Public License as +* published by the Free Software Foundation, either version 3 of the +* License, or (at your option) any later version. * * VNLib.Data.Caching.ObjectCache is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. * -* You should have received a copy of the GNU General Public License -* along with VNLib.Data.Caching.ObjectCache. If not, see http://www.gnu.org/licenses/. +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see https://www.gnu.org/licenses/. */ using System; @@ -27,7 +27,6 @@ using System.IO; using System.Threading; using System.Threading.Tasks; -using VNLib.Utils.IO; using VNLib.Utils.Async; using VNLib.Utils.Memory; using VNLib.Utils.Logging; @@ -247,6 +246,9 @@ namespace VNLib.Data.Caching.ObjectCache { Cache?.Clear(); } + + StoreLock.Dispose(); + disposedValue = true; } } |