diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index 96a99fe49ce..a03a63119ba 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -3271,6 +3271,8 @@ module_free(void *m) Py_CLEAR(context_kwname); module_free_freelists(); + + module_initialized = 0; } static int