Revision: 13883
http://sourceforge.net/p/skim-app/code/13883
Author: hofman
Date: 2023-12-11 15:20:57 +0000 (Mon, 11 Dec 2023)
Log Message:
-----------
do retain presentationPreview, and release when done
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2023-12-11 10:47:28 UTC (rev 13882)
+++ trunk/SKMainWindowController.m 2023-12-11 15:20:57 UTC (rev 13883)
@@ -2469,7 +2469,7 @@
- (void)snapshotControllerWillClose:(SKSnapshotWindowController *)controller {
if (controller == presentationPreview) {
- presentationPreview = nil;
+ SKDESTROY(presentationPreview);
} else {
[rightSideController.snapshotTableView beginUpdates];
NSUInteger row = [[rightSideController.snapshotArrayController
arrangedObjects] indexOfObject:controller];
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-12-11 10:47:28 UTC (rev
13882)
+++ trunk/SKMainWindowController_FullScreen.m 2023-12-11 15:20:57 UTC (rev
13883)
@@ -248,7 +248,6 @@
displayOnScreen:screen];
[[self document] addWindowController:presentationPreview];
- [presentationPreview release];
} else {
[[self presentationNotesDocument] setCurrentPage:[pdfDoc
pageAtIndex:pageIndex]];
}
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