Browse Source

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>
pull/94830/head
Miss Islington (bot) 3 years ago
committed by GitHub
parent
commit
65dd637840
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Programs/_testembed.c

2
Programs/_testembed.c

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

Loading…
Cancel
Save