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:
parent
08b640f572
commit
6b0ca0aeab
|
@ -3261,6 +3261,8 @@ module_free(void *m)
|
|||
Py_CLEAR(context_kwname);
|
||||
|
||||
module_free_freelists();
|
||||
|
||||
module_initialized = 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue