+ Improved Persistence handling.

This commit is contained in:
moritz haarmann
2014-02-18 11:56:07 +01:00
parent 2146788f7b
commit 47594faf5f
7 changed files with 29 additions and 2 deletions

View File

@@ -458,6 +458,7 @@
if (self.selectedAttachmentIndex != NSNotFound){
BITFeedbackMessageAttachment* attachment = [self.attachments objectAtIndex:self.selectedAttachmentIndex];
[attachment deleteContents]; // mandatory call to delete the files associatd.
[self.attachments removeObject:attachment];
}