mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-12 02:13:18 +00:00
fix(addressbook): use pool to lower memory usage
This commit is contained in:
@@ -691,7 +691,7 @@
|
||||
else
|
||||
[self appendMissingObjectRef: url
|
||||
toBuffer: buffer];
|
||||
if (count % 10 == 0)
|
||||
if (count > 0 && count % 10 == 0)
|
||||
{
|
||||
RELEASE(pool);
|
||||
pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user