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

(cherry picked from commit a75e730075)

Co-authored-by: Jeffrey Quesnelle <jquesnelle@gmail.com>
This commit is contained in:
Miss Islington (bot) 2020-04-16 19:29:50 -07:00 committed by GitHub
parent 08b640f572
commit 6b0ca0aeab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3261,6 +3261,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