Browse Source

IOS-2794 Lower memory consumption

IOS-2794
Dirk Zimmermann 1 year ago
parent
commit
18671718ca
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pantomime-lib/Framework/Pantomime/CWPart.m

+ 2
- 1
pantomime-lib/Framework/Pantomime/CWPart.m View File

@ -559,8 +559,9 @@ static int currentPartVersion = 2;
}
NSUInteger count = [allLines count];
for (int i = 0; i < count; i++) {
[dataValue appendData: [allLines objectAtIndex: i]];
[dataValue appendData: [allLines objectAtIndex: 0]];
[dataValue appendBytes: LF length: 1];
[allLines removeObjectAtIndex:0];
}
return dataValue;
}


Loading…
Cancel
Save