Skip to content

Commit

Permalink
Revert "ROB: Cope with garbage collector during cloning (py-pdf#1841)"
Browse files Browse the repository at this point in the history
This reverts commit 8188553.
  • Loading branch information
biredel committed Mar 30, 2024
1 parent 1484610 commit 03e8b81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pypdf/generic/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def _reference_clone(
if ind is not None:
if ind.pdf not in pdf_dest._id_translated:
pdf_dest._id_translated[ind.pdf] = {}
pdf_dest._id_translated[ind.pdf]["PreventGC"] = ind.pdf # type: ignore
if (
not force_duplicate
and ind.idnum in pdf_dest._id_translated[ind.pdf]
Expand Down

0 comments on commit 03e8b81

Please sign in to comment.