mirror of https://github.com/python/cpython
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:
parent
ed06ec1ab8
commit
4a6bb30eb6
|
@ -368,6 +368,8 @@ static int test_bpo20891(void)
|
||||||
|
|
||||||
PyThread_free_lock(lock);
|
PyThread_free_lock(lock);
|
||||||
|
|
||||||
|
Py_Finalize();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue