Revision: 13743
http://sourceforge.net/p/skim-app/code/13743
Author: hofman
Date: 2023-11-12 09:14:20 +0000 (Sun, 12 Nov 2023)
Log Message:
-----------
enumerate copy of presentation notes when removing them
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-11-11 19:01:32 UTC (rev
13742)
+++ trunk/SKMainWindowController_FullScreen.m 2023-11-12 09:14:20 UTC (rev
13743)
@@ -470,7 +470,7 @@
if ([presentationNotes count]) {
PDFDocument *pdfDoc = [self pdfDocument];
- for (PDFAnnotation *annotation in presentationNotes)
+ for (PDFAnnotation *annotation in [[presentationNotes copy]
autorelease])
[pdfDoc removeAnnotation:annotation];
}
SKDESTROY(presentationNotes);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit