bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542)

This commit is contained in:
Jeffrey Quesnelle 2020-04-16 22:09:45 -04:00 committed by GitHub
parent a388bbd3f1
commit a75e730075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3271,6 +3271,8 @@ module_free(void *m)
Py_CLEAR(context_kwname); Py_CLEAR(context_kwname);
module_free_freelists(); module_free_freelists();
module_initialized = 0;
} }
static int static int