[Python-checkins] gh-90815: Fix test_embed for Windows PGO build with mimalloc (GH-94790)
miss-islington
webhook-mailer at python.org
Wed Jul 13 12:08:37 EDT 2022
https://github.com/python/cpython/commit/4a6bb30eb600e3b18f4a84c1be922c07758c613f
commit: 4a6bb30eb600e3b18f4a84c1be922c07758c613f
branch: main
author: neonene <53406459+neonene at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-13T09:08:12-07:00
summary:
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`).
files:
M Programs/_testembed.c
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 542e46968ce56..6b43d53403014 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -368,6 +368,8 @@ static int test_bpo20891(void)
PyThread_free_lock(lock);
+ Py_Finalize();
+
return 0;
}
More information about the Python-checkins
mailing list