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`).
This commit is contained in:
neonene 2022-07-14 01:08:12 +09:00 committed by GitHub
parent ed06ec1ab8
commit 4a6bb30eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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