Closed danigosa closed 6 years ago
Leak occurs when printing docs, but it would likely arise when using ASyncStaticFiles generally, just run async server with PYTHONASYNCIODEBUG=1 and warnings will start to show up.
ASyncStaticFiles
PYTHONASYNCIODEBUG=1
Warning:
/usr/local/lib/python3.6/asyncio/coroutines.py:110: ResourceWarning: unclosed file <_io.BufferedReader name='/usr/local/lib/python3.6/site-packages/apistar/static/fonts/fontawesome-webfont.woff'> return self.gen.send(None)
Thanks!
Leak occurs when printing docs, but it would likely arise when using
ASyncStaticFiles
generally, just run async server withPYTHONASYNCIODEBUG=1
and warnings will start to show up.Warning: