Skip to content
Snippets Groups Projects
Commit 77e7799d authored by Raphael Collet's avatar Raphael Collet Committed by Raphael Collet
Browse files

[FIX] registry: use a weak dictionary for `model_cache` to avoid memory leaks

The class attribute `model_cache` refers to model classes, which refer to their
own registry.  This cache potentially keeps all past registries alive!
parent 8f1cc2fa
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment