- Timestamp:
- Aug 8, 2022, 8:04:09 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/7dtd-server-fixes/src/FileCache/SimpleCache.cs
r391 r392 29 29 return null; 30 30 } 31 32 public override (int, int) Invalidate () { 33 (int, int) result = (0, 0); 34 35 lock (fileCache) { 36 result.Item1 = fileCache.Count; 37 foreach ((string _, byte[] data) in fileCache) { 38 result.Item2 += data.Length; 39 } 40 41 fileCache.Clear (); 42 } 43 44 return result; 45 } 31 46 } 32 47 }
Note:
See TracChangeset
for help on using the changeset viewer.