fix: prevent code objects from leaking #1924
3 files changed