Skip to content

Commit 4a6bb30

Browse files
authored
pythongh-90815: Fix test_embed for Windows PGO build with mimalloc (pythonGH-94790)
Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
1 parent ed06ec1 commit 4a6bb30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Programs/_testembed.c

+2
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ static int test_bpo20891(void)
368368

369369
PyThread_free_lock(lock);
370370

371+
Py_Finalize();
372+
371373
return 0;
372374
}
373375

0 commit comments

Comments
 (0)