summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-27 12:28:26 (GMT)
committerGitHub <noreply@github.com>2022-07-27 12:28:26 (GMT)
commit657efca298bac3a4fcc66e917a464e4a6764f0d3 (patch)
treed2d383ab83eee833c89dee1a720d15d78ebf9e40 /Misc
parentb77c403ed56a0c69f17b6f8052a41a7a79af733d (diff)
downloadcpython-657efca298bac3a4fcc66e917a464e4a6764f0d3.zip
cpython-657efca298bac3a4fcc66e917a464e4a6764f0d3.tar.gz
cpython-657efca298bac3a4fcc66e917a464e4a6764f0d3.tar.bz2
GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)
Automerge-Triggered-By: GH:pablogsal (cherry picked from commit deacf391d7a1b3ab49bffa16088b3500fdb4c435) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-07-27-11-35-45.gh-issue-95045.iysT-Q.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-07-27-11-35-45.gh-issue-95045.iysT-Q.rst b/Misc/NEWS.d/next/Library/2022-07-27-11-35-45.gh-issue-95045.iysT-Q.rst
new file mode 100644
index 0000000..d4ab325
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-07-27-11-35-45.gh-issue-95045.iysT-Q.rst
@@ -0,0 +1 @@
+Fix GC crash when deallocating ``_lsprof.Profiler`` by untracking it before calling any callbacks. Patch by Kumar Aditya.