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 4a6bb30eb6)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-07-13 09:39:56 -07:00 committed by GitHub
parent 1bc13df628
commit 65dd637840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,6 +290,8 @@ static int test_bpo20891(void)
PyThread_free_lock(lock);
Py_Finalize();
return 0;
}