diff options
author | Jeffrey Quesnelle <jquesnelle@gmail.com> | 2020-04-17 02:09:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 02:09:45 (GMT) |
commit | a75e730075cd25be1143e6183006f3b1d61bb80f (patch) | |
tree | 204b257362b1e943d6a1fce466bdb03bbe40aad6 /Modules | |
parent | a388bbd3f129364c39843f63e92f08bc53c71905 (diff) | |
download | cpython-a75e730075cd25be1143e6183006f3b1d61bb80f.zip cpython-a75e730075cd25be1143e6183006f3b1d61bb80f.tar.gz cpython-a75e730075cd25be1143e6183006f3b1d61bb80f.tar.bz2 |
bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_asynciomodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index 96a99fe..a03a631 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 |