Set cache=False
option on all FilterHook
instances used on object methods
#1815
Labels
area: backend
This issue involves Python, Django or dependency (eg. database)
feature: extensions
Extension points for 3rd party plugins and customizations
help wanted
Milestone
FilterHook
instance called with object's method asaction
will save this instance in itscache
, producing a memory leak and breaking hooks next calls if used object is not singleton.Example:
If
MyClass
is not singleton, first instance'sdo_something_action
method instance will be cached onhook
instance and used in all future calls.The text was updated successfully, but these errors were encountered: