Skip to content

Commit

Permalink
pythongh-90815: Fix test_embed for Windows PGO build with mimalloc (p…
Browse files Browse the repository at this point in the history
…ythonGH-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 4a6bb30)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
  • Loading branch information
neonene authored and miss-islington committed Jul 13, 2022
1 parent f44a9dc commit e455a97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Programs/_testembed.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ static int test_bpo20891(void)

PyThread_free_lock(lock);

Py_Finalize();

return 0;
}

Expand Down

0 comments on commit e455a97

Please sign in to comment.