We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd2673 commit 8188553Copy full SHA for 8188553
pypdf/generic/_base.py
@@ -128,6 +128,7 @@ def _reference_clone(
128
if ind is not None:
129
if id(ind.pdf) not in pdf_dest._id_translated:
130
pdf_dest._id_translated[id(ind.pdf)] = {}
131
+ pdf_dest._id_translated[id(ind.pdf)]["PreventGC"] = ind.pdf # type: ignore
132
if (
133
not force_duplicate
134
and ind.idnum in pdf_dest._id_translated[id(ind.pdf)]
0 commit comments