diff --git a/Programs/_testembed.c b/Programs/_testembed.c index 542e46968ce..6b43d534030 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -368,6 +368,8 @@ static int test_bpo20891(void) PyThread_free_lock(lock); + Py_Finalize(); + return 0; }