We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30dc529 commit 7bfe325Copy full SHA for 7bfe325
ownCloudSDK/Core/Resources/Manager/OCResourceManager.m
@@ -63,11 +63,14 @@ - (void)setMemoryConfiguration:(OCPlatformMemoryConfiguration)memoryConfiguratio
63
switch (_memoryConfiguration)
64
{
65
case OCPlatformMemoryConfigurationDefault:
66
+ if (_cache == nil) {
67
+ _cache = [OCCache new];
68
+ }
69
_cache.countLimit = OCCacheLimitNone;
70
break;
71
72
case OCPlatformMemoryConfigurationMinimum:
- _cache.countLimit = 0;
73
+ _cache = nil; // Do not perform any caching
74
75
}
76
0 commit comments