mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #760589 (CHMInput does not release file handle)
This commit is contained in:
parent
a9a9d8f4ba
commit
997975a803
@ -51,6 +51,7 @@ class CHMInput(InputFormatPlugin):
|
|||||||
mainpath = os.path.join(tdir, mainname)
|
mainpath = os.path.join(tdir, mainname)
|
||||||
|
|
||||||
metadata = get_metadata_from_reader(self._chm_reader)
|
metadata = get_metadata_from_reader(self._chm_reader)
|
||||||
|
self._chm_reader.CloseCHM()
|
||||||
|
|
||||||
odi = options.debug_pipeline
|
odi = options.debug_pipeline
|
||||||
options.debug_pipeline = None
|
options.debug_pipeline = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user