This commit is contained in:
Kovid Goyal 2010-09-24 10:40:53 -06:00
parent 843e7f53ba
commit 7d9ca9dda7

View File

@ -97,8 +97,12 @@ class CoverCache(Thread): # {{{
import traceback
traceback.print_exc()
continue
try:
with self.lock:
self.cache[id_] = img
except:
# Happens during interpreter shutdown
break
def set_cache(self, ids):
with self.lock: