forked from orbit-oss/flask
Flask instances with static folders were creating a reference cycle via their "static" view function (which held a strong reference back to the Flask instance to call its `send_static_file` method). This prevented CPython from freeing the memory for a Flask instance when all external references to it were released. Now use a weakref for the back reference to avoid this. Co-authored-by: Joshua Bronson <jab@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| flask | ||