gh-144307: Fix a reference leak during module teardown (GH-144308)

Signed-off-by: Yongtao Huang <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2 files changed