Revision: 25405
          http://sourceforge.net/p/bibdesk/svn/25405
Author:   hofman
Date:     2021-01-15 22:19:08 +0000 (Fri, 15 Jan 2021)
Log Message:
-----------
Remove document description when recaching image, as it is invalidated

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2021-01-15 
22:08:27 UTC (rev 25404)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2021-01-15 
22:19:08 UTC (rev 25405)
@@ -196,6 +196,9 @@
 - (void)recache;
 {
     [FVCGImageCache invalidateCachesForKey:_cacheKey];
+    pthread_mutex_lock(&_descriptionLock);
+    NSMapRemove(_documentDescriptions, _cacheKey);
+    pthread_mutex_unlock(&_descriptionLock);
     [self lock];
     CGImageRelease(_thumbnail);
     _thumbnail = NULL;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to