bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542)
This commit is contained in:
parent
a388bbd3f1
commit
a75e730075
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue