diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-07-13 16:39:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 16:39:56 (GMT) |
commit | 65dd637840aa3d5f0686cc9add640f8a9e3acd1e (patch) | |
tree | 75abf509fd628b7fb7cd4678cd136c8afc9c8a16 /Programs | |
parent | 1bc13df6281e72c6a5bbc5b2b6b17b95b829d14b (diff) | |
download | cpython-65dd637840aa3d5f0686cc9add640f8a9e3acd1e.zip cpython-65dd637840aa3d5f0686cc9add640f8a9e3acd1e.tar.gz cpython-65dd637840aa3d5f0686cc9add640f8a9e3acd1e.tar.bz2 |
gh-90815: Fix test_embed for Windows PGO build with mimalloc (GH-94790)
Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
(cherry picked from commit 4a6bb30eb600e3b18f4a84c1be922c07758c613f)
Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_testembed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index b7d4675..34c4412 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -290,6 +290,8 @@ static int test_bpo20891(void) PyThread_free_lock(lock); + Py_Finalize(); + return 0; } |